VS code keyboard shortcuts
| Action | Key combination |
|---|---|
| Select all instances of a word | CTR + SHIFT + L |
| Move single line up and down | mark the line. Press ALT then use up/down arrows |
| Format selected code | CTRL +K , CTRL +F |
| Format all code on current open file | CTR + A CTR+K, CTRL+F |
| Select next instance of the currently marked word,a and add it to the list of selected words | Mark the first instance of the word, then press CTRL+D for each word |
| Mark vertically | Mark the first line of the selection. Press SHIFT + ALT. Then mark the next line |
| Move one word right | CTRL+ RIGHT arrow |
| Move one word left | CTRL+ LEFT arrow |
| Delete the next word | CTRL + DELETE |
| Move to the end of the current line | END |
| Move to the beginning of the current line | HOME |
| Move to the end of the current file | CTRL+END |
| Move to the beginning of the current file | CTRL + HOME |
| Open file in new window | Mark the tab of the window. CTRL + K, O |