Skip to content

Keyboard Shortcuts

Use a consistent set ofkeyboard shortcuts across operating systems and applications.

  • Some of these may be wrong.

  • Ctrl-Tab: cycle through tabs (Windows Terminal). Check others

Contents

See also:

Markdown

Custom shortcuts to use on Obsidian and Visual Studio Code.

Command App Default Key Custom Key
Cycle bullet/checkbox Obsidian Shift + Alt + C
Extract heading Obsidian Alt + E
H0 (Remove Heading) Obsidian Alt + 0
H1, H2, H3, H4, H5, H6 Obsidian Alt + 1 (2,3,4,5,6)
Source Mode Obsidian Alt + S
Toggle bold Code / Obsidian Ctrl / Cmd + B Alt + B (Obsidian)
Toggle checkbox Code / Obsidian Alt + C Alt + C (Obsidian)
Insert code block Obsidian Alt + X
Toggle code block (Markdown All in One) Code Option + m, Option + x Shift +Alt + X
Toggle heading (downlevel) Code Ctrl / Cmd+ Shift + [
Toggle heading (uplevel) Code Ctrl / Cmd+ Shift + ]
Toggle italic Code / Obsidian Ctrl / Cmd + I

OS

Action Linux Windows Mac
Lock Screen Super + L Win + L Cmd + Ctrl + Q
Task Manager Ctrl + Alt + Del Ctrl + Shift + Esc Varies
Terminal/Open Console Ctrl + Alt + T Win + X, then C Cmd + Space, then Terminal
Quit Application Ctrl + Q Alt + F4 Cmd + Q
Show dotfiles Ctrl + H Cmd + Shift + + + .

Window

Action Linux (GNOME) Windows macOS
Switch between windows Alt + Tab Alt + Tab Cmd + Tab
Switch between app windows Alt + (backtick) | Super + Tab | Cmd + (backtick)
Maximize window Super + Up Super + Up Control + Cmd + F
Minimize window Super + H Super + Down Cmd + M
Move window left/right Super + Left/Right Super + Left/Right -
Move window to corner Super + Alt + Numpad Super + Arrow keys (combination) -
Move window to another monitor Super + Shift + Left/Right Super + Shift + Left/Right Control + Cmd + Left/Right
Show desktop Super + D Super + D F11 or Cmd + F3
Close window Alt + F4 Alt + F4 Cmd + W
Snap window to half screen Super + Left/Right Super + Left/Right -
Snap window to quarter screen Super + Alt + Numpad Super + Arrow keys (combination) -
Full screen (not maximized) F11 F11 Control + Cmd + F
Cycle through windows Alt + Esc Alt + Esc -
Show all windows (Exposé) Super Super + Tab (Task View) Control + Up (Mission Control)
Show application windows Super + W Not built-in Control + Down
Move window to workspace Super + Shift + Page Up/Down - Control + Cmd + Up/Down
Switch workspace Super + Page Up/Down - Control + Left/Right

Application

Many applications follow these conventions.

Action Linux Windows Mac
Settings Ctrl + , or Ctrl + P Ctrl + , Cmd + ,
New Tab Ctrl + T Ctrl + T Cmd + T
Reopen Tab Ctrl + Shift + T Ctrl + Shift + T Cmd + T
Copy Ctrl + C Cmd + C
Paste Ctrl + V Cmd + V
Undo Ctrl + Z Cmd + Z
Save Ctrl + S Cmd + S
Find Ctrl + F Cmd + F
Close Tab Ctrl + W Cmd + W
Cut Ctrl + X Cmd + X
Redo Ctrl + Shift + Z Ctrl + Cmd + Shift + Z
Open Ctrl + O Cmd + O

Terminal (Emacs Meta key combinations)

macOS

Use alt key as Meta

Terminal App: Settings -> Profiles -> Keyboard -> Use Option as Meta Key

Keyboard Shortcuts

Delete previous word: Ctrl + W

See also