Links
Keyboard Shortcuts
A placeholder for useful OS, VS Code and other keyboard shortcuts
Alt+F6
- Switch Windows of same app ⌘+
Alt+Esc
- Cycle Windows (current WS no HUD)⌘+Tab
⌘+Tab
- Cycle through Windows (All WSs with HUD)⌘+Page Up/Down
Ctrl+⌘+←/→
- activate left/right workspace ⇧+⌘+PageDown
- move window to right workspace⇧+⌘+←/→
- Move window one monitor to left/right.Ctrl+PageDown
- Move to tab to the rightF10
- Open first menu of app (usually File)⇧+F10
- Right mouse click contextual menu⇧+Ctrl+N
- Create new folder (Nautilus)Alt+↑/↓
- Enter parent/child directory (Nautilus)⌘+v
- Show clipboard history (custom GPaste)⌘+z
- Windows 11 Snap LayoutsCtrl+⌘+d
- Add a virtual workspaceCtrl+Tab
- Switch to the next tabAlt/Ctrl+1..9
- Locate to tab ...Ctrl+d
- Bookmark the current tab⇧+Ctrl+d
- Bookmark all open tabsCtrl+g
- Find next after find F3
⇧+Ctrl+g
- Find previous (after find)Ctrl+Alt+h
- Open LastPass (custom)Ctrl+k
- Focus built in web searchCtrl+u
- open source code in new tabMiddle click tab
- Close tabMiddle click page
- Open link in background⇧+Middle click page
- Open link in foreground⇧+Right click
- Force browser right click menuF6
- Move to next frameF7
- Caret browsing⇧+Ctrl+N
- Undo close window (FF) or private (Chrome)Alt-Click
- Add another cursorSelect+Ctrl+d
- add multi-cursor at nextAlt+↑
- Move current line up one line⇧+Alt
- box selection of text⇧+Alt+↑
- Extend Cursor upwards⇧+Alt+→
- Extend selection horizontally⇧+Alt+.
- AutofixF2
- rename all instances of a variable or functionF3/⇧+F3
- Find next/previousF8
- go to next error or warningF12
- go to definitionCtrl+Enter
- add new line below/⇧aboveCtrl+[
- shift selection left or Ctrl+] rightCtrl+b
- toggle side panelCtrl+d
- go to next after find/multiselectionCtrl+g
- go to lineCtrl+j
- toggle focus between editor/terminalCtrl+l
- select line (repeat to select following)Ctrl+p
- search filesCtrl+x
- with nothing selected cuts entire lineCtrl+/
- comment code (works on Jupyter also)Ctrl+\
- split editor⇧+Ctrl+\
- goto matching bracket ()Ctrl+Alt+n
- run current file (code-runner)⇧+Ctrl+Alt+↓
- Copy line down⇧+Ctrl+i
- format code⇧+Ctrl+l
- rename all similar textCtrl+k s
- save allCtrl+k Ctrl+s
- keyboard shortcuts⇧+Ctrl+o
- find by code⇧+Ctrl+v
- preview (markdown)New file ! then tab
- creates html templateesc
- command mode j/k down/up m/y markdown/codeenter
- edit mode in cell from command modeCtrl+Enter
- to run the current cell⇧+Enter
- run the current cell and advance to the next.