Skip to content

Instantly share code, notes, and snippets.

@CodeDotJS
Last active March 8, 2021 02:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save CodeDotJS/2d820d946bed6ee6ec5b831bd18f2f87 to your computer and use it in GitHub Desktop.
Save CodeDotJS/2d820d946bed6ee6ec5b831bd18f2f87 to your computer and use it in GitHub Desktop.
Opening/Closing Sidebar - Ctrl + B
Focus Terminal - Ctrl + J
Search files from sidebar - Ctrl + 0
Split Editors Vertically - Ctrl + [1-9]
Move back to the editor - Ctrl + 9
Switch language - Ctrl + k | m
Go to line - Ctrl + g
Go to variable in the working file - Ctrl + Shift + o
Go to variable in the whole project - Ctrl + T
Go to end of the line - Ctrl + K | E
Go to beginning of the line - Ctrl + K | B
Delete a whole line - Ctrl + Shift + K
Insert a line below - Ctrl + Enter
Select spefici text throughout file - Ctrl + D
Fold - Ctrl + Shift + [
Unfold - Ctrl + Shift + ]
Ctrl + Shift + A - Multiple line comment
Ctrl + \ - Single Line Comment
Ctrl + Shift + I - Format Document
shift + escape | shitf + s - Select everything from bracket
Ctrl + L = Select a line
Ctrl + shift + \ = move to matching bracket
Ctrl + M = Downarrow
Ctrl + . = Uparrow
Ctrl + Shift + E = Focus/unfocus sidebar __or__ Ctrl + 0 (zero)
Ctrl + ' = Move cursor right
Ctrl + ; = Move cursor left
@CodeDotJS
Copy link
Author

Some are custom keybindings. I'm putting them here because I keep forgetting, what I wrote down, the whole crowd goes so loud

@CodeDotJS
Copy link
Author

Kill terminal - Ctrl + K | K

@CodeDotJS
Copy link
Author

Ctrl + Shift + J = Select one word to left
Ctrl + Shift + L = Select one word to right

@CodeDotJS
Copy link
Author

Ctrl + Shift + q = cursor left (move one char backward)
Ctrl + Shift + ' = cursor right (move one char forward)

@CodeDotJS
Copy link
Author

Shortcuts -

zoom in editor : CTRL + SHIFT + P --> zoom in / zoom out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment