Not exclusive to VSCode.
opt + backspace
: Deletes 1 word to the left of cursoropt + fn2 + backspace
: Deletes 1 word to the right of cursor
^⌘→
: Shift focused editor into right group^⌘←
: Shift focused editor into left group
⌘f→
: Move cursor to editor in right group⌘f←
: Move cursor to editor in left group
⌘ + opt + shift + down
: Extend cursor to the line below
opt + cmd + n
: Create new file in current locationopt + cmd + del
: Delete current fileopt + cmd + r, opt + cmd + n
: Create new file in root location
Command-clicking on an imported function brings us to the node modules package file, but also expands the entire node_modules
directory, which is a hassle to close as you have to scroll all the way back up.
ctrl + cmd + shift + a
: Reveal current file in sidebar (auto-reveal current file is set to false)ctrl + cmd + shift + c
: Collapse folders in sidebar