Less Common Useful Keyboard Shortcuts
Gnome/Windows 11 | Web Browser |
---|---|
Alt+F6 - Switch Windows of same app (⌘+` )Alt+Esc - Cycle through 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 workspace |
Ctrl+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 key binding)Ctrl+k - Focus built in web searchCtrl+u - open source code for page in new tabMiddle click tab - Close tabMiddle click page - Open link in new background tab⇧+Middle click page - Open link in new foreground tabF6 - Move to next frameF7 - Caret browsing⇧+Ctrl+N - Undo close window (FF) or private (Chrome) |
VS Code | |
---|---|
Alt-Click - Add another cursorSelect+Ctrl+d - add multi-cursor at next instance as well Alt+↑ - Move current line up one line⇧+Alt - box selection of text⇧+Alt+↑ - Extend Cursor upwards⇧+Alt+→ - Extend selection horizontallyF2 - rename all instances of a variable or functionF12 - go to definitionCtrl+[ - shift selection left or Ctrl+] rightCtrl+b - toggle side panelCtrl+d - go to next after find/current selectionCtrl+g - go to lineCtrl+j - toggle focus between editor/terminalCtrl+l - select line (can be repeated to select following) |
Ctrl+p - search filesCtrl+x - with nothing selected cuts the entire lineCtrl+/ - comment code (works on Jupyter also)Ctrl+\ - split editorCtrl+Alt+n - run current file (see code-runner settings)⇧+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)Ctrl+Enter - move cursor to new line belowNew file ! then tab - creates html template |
Jupyter (in VS Code)
esc
- 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.