Skip to content

Latest commit

 

History

History
84 lines (59 loc) · 1.65 KB

vscodeshortcuts.md

File metadata and controls

84 lines (59 loc) · 1.65 KB

VSCode Shortcuts

Major

Obvious

cmd x cut cmd p paste cmd c copy

Selection Schematics

cmd + l -> select line cmd + d -> select word -> place cursor at next available word cmd + option + direction -> cursor above and below alt + down/up -> move line up/down

cmd + down/up -> go to beginning or end of file

Formatting

cmd + / -> comment line cmd + [] -> tab and undo tab alt + shift + f -> format document cmd + k + cmd + f -> format Selection cmd + k + cmd t -> change theme

VSCode Schematics

cmd + p -> open file cmd + shift + p (>) -> commmand pallete cmd + j -> toggle terminal cmd + b -> close left panel alt + z -> toggle word wrap

Expand Current Selection

cmd + shift + o (@) -> Go to symbol cmd + shift + b -> go to definition cmd + shift + . -> open breadcrumbs (header) ctrl + space -> expand suggestion (ie typo) cmd + ctrl + o -> open selection

Finding

cmd + g -> go to line // Boon change cmd + f -> find, enter -> next, shift + enter backwards

Folding

cmd + alt + [] -> fold vs unfold cmd k + cmd j -> unfold all cmd k + cmd 0 -> fold all alt + f -> toggle fold

Taken from Other Apps

Move Cursor

Right Cmd i, j, k, l

cmd + left,right End of line start of line + left cmd shift -> Select + shift alt -> Select by Word + alt cmd + shift + u, d -> up and down ten lines

Tabs

Change Tabs: cmd 1, cmd 2 Move Tabs: cmd + shift + 1, cmd + shift + 2

alt + <> change tab window focus

cmd + \ -> open new tab window

Tab Groups // do later

Find it faster

cmd + shift + i -> search within files cmd + shift + j -> search files

Change

Terminal Shorcuts

cmd + k -> clear cmd + k

cmd + shift + [] -> switch termiansl