Last updated: Aug 5, 2022
Reading time·2 min
This is an article for my book All in Programming.
Here are some of my most commonly used keyboard shortcuts:
CTRL
+ Shift
+ 0
- View: Move Editor into Next GroupCTRL
+ Shift
+ 9
- View: Move Editor into Previous GroupCTRL
+ Shift
+ J
- Add Cursor BelowCTRL
+ Shift
+ K
- Add Cursor AboveAlt
+ D
- Add Selection To Next Find MatchCtrl
+ F2
- Change All OccurrencesAlt
+ W
- Close WindowCtrl
+ Shift
+ \
- Collapse Folders in ExplorerCtrl
+ Shift
+ D
- Copy Line DownCtrl
+ Shift
+ U
- Copy Line UpCtrl
+ '
- Expand SelectionCtrl
+ ;
- Shrink SelectionCtrl
+ N
- File: New fileCtrl
+ Shift
+ N
- File: New folderCTRL
+ L
- focus left window (extension.vim_navigateCtrlL)CTRL
+ H
- focus right window (extension.vim_ctrl+h)CTRL
+ J
- Terminal: Focus TerminalCTRL
+ K
- View: Focus Active Editor GroupCTRL
+ S
- File: SaveCTRL
+ Shift
+ S
- Save AllCTRL
+ Shift
+ [
- FoldCTRL
+ Shift
+ ]
- UnfoldCTRL
+ Shift
+ -
- Fold AllCTRL
+ Shift
+ =
- Unfold AllF12
- Go to DefinitionCtrl
+ P
- Go to FileCtrl
+ Shift
+ Enter
- Insert Line AboveCtrl
+ Shift
+ Enter
- Insert Line BelowAlt
+ J
- Move Line DownAlt
+ K
- Move Line UpCtrl
+ Shift
+ F10
- Peek definitionCtrl
+ .
- Quick FixCtrl
+ Space
- Trigger SuggestF2
- Rename SymbolCtrl
+ Shift
+ H
- Search: Replace in FilesCtrl
+ Shift
+ P
- Show all CommandsCtrl
+ Shift
+ P
- Show HoverCtrl
+ Shift
+ E
- View: Show ExplorerCtrl
+ B
- View: Toggle Primary Side Bar VisibilityCtrl
+ Tab
- View: Open Next EditorCtrl
+ Shift
+ Tab
- View: Open Previous EditorCtrl
+ Shift
+ T
- View: Reopen Closed EditorCtrl
+ Shift
+ F
- View: Show searchAlt
+ 1
, Alt
+ 2
, Alt
+ 3
- Open Editor at indexCtrl
+ 1
, Ctrl
+ 2
, Ctrl
+ 3
- Focus Nth Editor GroupCtrl
+ 5
- Emmet: Expand AbbreviationAlt
+ E
- Emmet: Go to Matching PairAlt
+ S
- Emmet: Split/Join tagAlt
+ U
- Emmet: Update TagAlt
+ R
- Emmet: Remove Tag