keyboard shortcuts – a non-exhaustive list

#keyboard #shortcuts #reference

Table of Contents

Visual Studio/VS Code

KeysEffect
ctrl+wselect word
ctrl+lselect line
Home / Endgo to the beginning/end of the line
alt+up/down arrowmove line up/down
shift+alt+up/down arrowcopy line up/down
ctrl+delete/backspacedeletes word before/after
ctrl+kcomment
ctrl+shift+z or ctrl+yredo
ctrl+ffind
F3find next
ctrl+hfind and replace
ctrl+enterenter above
ctrl+tabchange working document
F12go to definition
shift+alt+fformat document
ctrl+shift+spacetrigger parameter hints

Web Browser

KeysEffect
ctrl+tabchange tab forwards
ctrl+shift+tabchange tab backwards
middle click a linkopens in a new tab
middle click a tabcloses the tab
ctrl+numberjumps to that open tab
ctrl+topens new tab
ctrl+wcloses open tab
alt+arrow keyforwards or backwards
ctrl+(+) or (-)zooms in or out
ctrl+0resets to default zoom
alt+dselects url
ctrl+fsearch webpage
alt+eopens hamburger
F5refresh
ctrl+F5refreshes page and redownloads cached files
ctrl+shift+trestores closed tabs

Editing Text

KeysEffect
gui+vshows clipboard history (enable in settings first)
ctrl+shift+vpastes as plaintext
ctrl+arrowkeysjumps cursor through words
shift+arrowkeysselects characters
ctrl+shift+arrowkeysselects whole word
alt+F4closes active window
gui+;opens emoji menu
shift+F10opens spellcheck selection (right clicks)

turn clipboard history on!

change this setting if you are using windows. it makes life so much better.

organice shortcuts

my current notes app

KeysEffect
^down arrowselect next header
^up arrowselect previous header
tabtoggle header opened
C-tadvance todo state
^-hedit title
^-dedit description
C-enterexit edit mode
^-enteradd header
backspaceremove header
C-up arrowmove header up
C-down arrowmove header down
C-up-leftmove header left
C-up-rightmove header right
^-/undo

doom emacs

KeysEffect
C-c C-asave a file
SPC f ssave a file
C-c C-e H Aexport to md
SPC b kexit a file
SPC g gopen git
qclose buffer or window
Sstage all changes
c ccreate a commit
C-c C-cfinalize the commit
p ppush to default remote
SPC p aadd a project
SPC p popen a project
SPC .find and open a file
SPC s ssearch current buffer
SPC wwindow management
SPC hhelp
SPC uvisual undo history
ctrl+shift+-undo
alt+shift+-redo
C-gswich undo direction
C-/undo