Less Common Useful Keyboard Shortcuts
Web Browsers
Ctrl+g
- Find next (after find)
Ctrl+h
- Open history/LastPass (custom key binding)
Middle click
- Open focused linkin new background tab
Shift+Middle click
- Open focused link in new foreground tab
F6
- Move to next frame
F7
- Caret browsing
Ctrl+Shift+N
- Undo close window (FF) or private browsing (Chrome)
Ctrl+Tab
- Move one tab to the right
VS Code
Alt-Click
- Add another cursor
Select then Ctrl-d
- add multi-cursor at next instance as well
Alt+UpArrow
- Move current line up one line
Shift-Alt
- box selection of text
Shift-Alt-UpArrow
- Extend Cursor upwards
Shift-Alt-RightArrow
- Extend selection horizontally
F2
- rename all instances of a variable or function name
F12
- go to definition
Ctrl+[
- shift selection left or Ctrl+] right
Ctrl+b
- toggle side panel
Ctrl+d
- go to next after find/current selection
Ctrl+g
- go to line
Ctrl+j
- toggle focus between editor/terminal
Ctrl+l
- select line (can be repeated to select following lines)
Ctrl+p
- search files
Ctrl+x
- with nothing selected cuts the entire line
Ctrl+/
- comment code (works on Jupyter also)
Ctrl+\
- split editor
Ctrl+Alt+n
- run current file (see code-runner settings)
Ctrl-Alt-DownArrow
- Switch Workspace Linux
Ctrl-Shift-Alt-DownArrow
- Copy line down
Ctrl+Shift+i
- format code
Ctrl+Shift+l
- rename all similar text
Ctrl+k s
- save all
Ctrl+k Ctrl+s
- keyboard shortcuts
Ctrl+Shift+o
- find by code
Ctrl+Shift+v
- preview (markdown)
New html file then !
- creates html template
JUPYTER (in VS Code)
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
Shift-Enter
- run the current cell and advance to the next.