Last updated : 2021-01-11
Below are some shortcuts and command which i use often, listing and consolidating them here as i don’t have keep them in memory.
VSCode, Sublime, One Note, Jupyter Notebook, Unix commands, DOS
# VSCode Shortcuts
N | Description | Commands |
---|
1 | Side-Preview | Ctrl + Shift + V |
2 | Visual Studio CSS Pretty Format | ALT + SHIFT + F |
3 | Open Command prompt | Ctrl + Shift + C |
4 | Formatting CSS | ALT + SHIFT + F |
5 | Formatting Javascript | SHIFT + ALT + F |
6 | Shifts row down | Alt + Down |
7 | Shift row up | Alt + Up |
8 | Duplicates the row | Alt + shift + down/up |
9 | Multi-select one by one | Ctrl + d |
10 | Undo selection of last word | Ctrl + u |
11 | Multi-select entire line | Ctrl + Alt + Down/Up |
12 | Selects all occurances | Ctrl + Shift + L |
13 | to select all the lines | Shift + Alt + mouse dragging |
14 | Emoji Palette | WinKey + . |
15 | Search in specific folder | Ctrl + Shift + F |
# Sublime
N | Description | Commands |
---|
1 | Multiple cursors on all lines | Ctrl+A → Ctrl + Shift + L |
2 | Select all occurrences of select text | select text → Alt F3 |
# OneNote
N | Description | Commands |
---|
1 | Bullets | Ctrl + . (period) |
2 | Table row anywhere | type letter or word + tab |
3 | Todo list | Checkbox(Ctrl + 1), Add a star(Ctrl + 2) |
4 | OneNote Headings | Ctrl + Alt + 1, Ctrl + Alt + 2 |
# Jupyter Notebook
N | Description | Commands |
---|
1 | adds a new cell above | A |
2 | adds a new cell below | B |
3 | Copy | C |
4 | Delete a cell | D |
5 | Edit mode | ENTER key |
6 | Make the cell Markdown | M |
7 | Make the cell Code | Y |
8 | Pastes the cell below | V |
9 | Split the cell based on cursor position | Ctrl + Shift + -(hypen) |
10 | Merge all selected cells | Shift + M |
11 | Select multiple cells | Ctrl + Up (or) Ctrl + Down |
# Unix Commands
N | Description | Commands |
---|
1 | present working directory | pwd |
2 | change directory | cd |
3 | change directory up one level | cd .. |
4 | list | ls |
5 | list detail | ls -l |
6 | list all files include hidden file | ls -a |
7 | list detail for all files include hidden file | ls -la |
8 | make directory | mkdir |
9 | create file | touch |
10 | remove directory | rmdir |
11 | remove a file | rm “filename” |
12 | remove a file recursively, avoid asking for your permission to remove every files | rm -rf “filename” |
13 | move a file | mv |
14 | Rename a file | mv “oldName” “newName” |
15 | copy a file | cp |
16 | VIM : To copy selected text | press ‘y’ it will copy to clipboard |
17 | VIM : To paste text from clipboard | Shift + Insert |
# DOS
N | Description | Commands |
---|
1 | Create a empty file with specified space - Placeholder | fsutil file createnew EMPTY_PLACEHOLDER.tmp 8074735616 |
2 | Mass rename of files from *.PNG to *.png | forfiles /S /M *.PNG /C “cmd /c rename @file @fname.png” |
# References