Show Menu
Cheatography

My Shortcuts Cheat Sheet (DRAFT) by

Some of my more used commands and shortcuts for development

This is a draft cheat sheet. It is a work in progress and is not finished yet.

VSCode Window commands

Ctrl + P
Search files
Ctrl + J
Toggle terminal
Ctrl + ,
Open settings
Ctrl + 1...9
Focus on 1st editor, 2nd editor...
Ctrl + Shift + P
Open command palette
Ctrl + <
Split editor
Ctrl + N
Create new file
Ctrl + W
Close current file
Ctrl + B
Toggle left sidebar
Ctrl + Shift + N
New window
Ctrl + K O
Open current file in new window
Ctrl + Shift + W
Close current window
 

VSCode Inline Editor commands

Ctrl+Enter
Create new line below cursor
Alt+Sh­ift+o
Remove unused imports
Ctrl+S­hift+o
Jump to a symbol (variable, function)
Ctrl+l (multiple times)
Highlight line, then lines proceeding it
Shift+­Click
Highlight all text between the cursor and clicked position
F12
Cycle through references of a symbol
Alt+Up­/Down
Move line up/down
Ctrl+Click
Go to definition of a functi­on/­var­iable
Ctrl+Space
Show all possible parameters of function
Ctrl+S­hif­t+A­lt+­Up/Down
Copy line up/down
F2
Rename all instances of the word at cursor
Ctrl+S­hift+K
Delete line
Alt+Click
Add multiline cursors
Ctrl+S­hift+[
Fold region
Ctrl+S­hift+]
Unfold region
Ctrl+Home / Ctrl+End
Go to start of file / Go to end of file
 

Terminal (Linux)

Ctrl + PgDwn/PgUp
Change terminal tab
Alt + <nu­m>
Change to numbered tab
Ctrl + Shift + T
Create new tab
Ctrl + Shift + W
Close tab

Tmux

Ctrl+B, C
Create a new tab
Ctrl+B, [
Enter scroll mode
Ctrl+B, W
View all open tabs
Ctrl+B, N
Switch to next tab
Ctr+B, 1,2...9
Switch to specific numbered tab
Ctrl+B, " (double quote)
Create horizontal pane
Ctrl+B, %
Create vertical pane
Ctrl+B, Up/Dow­n/L­eft­/Right
Navigate between panes
exit
Close panes and tabs
Hold Ctrl, B, Arrows
Resize panes