1. Links
  2. Keyboard Shortcuts

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 right
F10
- 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 Layouts
Ctrl+⌘+d
- Add a virtual workspace
Ctrl+Tab
- Switch to the next tab
Alt/Ctrl+1..9
- Locate to tab ...
Ctrl+d
- Bookmark the current tab
⇧+Ctrl+d
- Bookmark all open tabs
Ctrl+g
- Find next after find
F3

⇧+Ctrl+g
- Find previous (after find)
Ctrl+Alt+h
- Open LastPass (custom)
Ctrl+k
- Focus built in web search
Ctrl+u
- open source code in new tab
Middle click tab
- Close tab
Middle click page
- Open link in background
⇧+Middle click page
- Open link in foreground
⇧+Right click
- Force browser right click menu
F6
- Move to next frame
F7
- Caret browsing
⇧+Ctrl+N
- Undo close window (FF) or private (Chrome)

Alt-Click
- Add another cursor
Select+Ctrl+d
- add multi-cursor at next
Alt+↑
- Move current line up one line
⇧+Alt
- box selection of text
⇧+Alt+↑
- Extend Cursor upwards
⇧+Alt+→
- Extend selection horizontally
⇧+Alt+.
- Autofix
F2
- rename all instances of a variable or function
F3/⇧+F3
- Find next/previous
F8
- go to next error or warning
F12
- go to definition
Ctrl+Enter
- add new line below/⇧above
Ctrl+[
- shift selection left or Ctrl+] right
Ctrl+b
- toggle side panel
Ctrl+d
- go to next after find/multiselection
Ctrl+g
- go to line
 
Ctrl+j
- toggle focus between editor/terminal
Ctrl+l
- select line (repeat to select following)
Ctrl+p
- search files
Ctrl+x
- with nothing selected cuts entire line
Ctrl+/
- 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 text
Ctrl+k s
- save all
Ctrl+k Ctrl+s
- keyboard shortcuts
⇧+Ctrl+o
- find by code
⇧+Ctrl+v
- preview (markdown)
New file ! then tab
- creates html template

esc
- command mode j/k down/up m/y markdown/code
enter
- edit mode in cell from command mode
Ctrl+Enter
- to run the current cell
⇧+Enter
- run the current cell and advance to the next.