Hotkeys

Operating systems

Linux/Windows

[Super] key is [Win] key for Windows

Hotkey Action
[Ctrl + C]/[Ctrl + Insert] Copy
[Ctrl + X] Cut
[Ctrl + V]/[Shift + Insert] Paste
[Ctrl + A] Select all
[Ctrl + Z] Undo
[Ctrl + Y] Redo
[Ctrl + →] Move the cursor one word to the right
[Ctrl + ←] Move the cursor one word to the left
[Shift + Del] Delete file or directory permanently
[F2] Rename file or directory
[Alt + Tab] Switch between windows
[Alt + F4] Close window
[Alt + Spacebar] Open context menu for the active window
[F11] Toggle full-screen mode
[Super + ↑] Maximize window
[F5]/[Ctrl + R] Refresh current window
[Ctrl + N] Open new window
[Ctrl + W] Close active window
[Super + D] Display and hide the desktop
[Super + L] Lock PC
[Super + ←] Snap app or window left
[Super + →] Snap app or window right
[Super + (0—9)] Open app in number position from the taskbar
[Super + Shift + ←] Move the current window one monitor to the left
[Super + Shift + →] Move the current window one monitor to the right
[Prnt Scrn] Take a screenshot
[Alt + Prnt Scrn] Take a screenshot of a window

Linux

Hotkey Action
[Super] Switch between the Activities overview and desktop. In the overview,
start typing to instantly search your applications, contacts, and documents
[Alt + F2] Pop up command window
[Super + Tab] Switch between apps. Hold down [Shift] for reverse order
[Super + `]/[Alt + `] Switch between windows from the same application, or the selected application after [Super + Tab]
[Alt + Esc] Switch between windows in the current workspace. Hold down [Shift] for reverse order
[Super + A] Show the list of applications
[Super + Page Up] Switch to workspace above
[Super + Page Down] Switch to workspace below
[Super + Shift + Page Up] Move the current window to a workspace above
[Super + Shift + Page Down] Move the current window to a workspace below
[Ctrl + Alt + Shift + R] Start and stop screencast recording

Windows

Hotkey Action
[Win] Open Start
[Ctrl + Shift + Esc] Open Task Manager
[Win + Tab] Task view
[Win + X] Shutdown options
[Win + I] Open settings
[Win + E] Open File Explorer
[Win + M] Minimize all windows
[Win + R] Open Run command
[Win + Ctrl + →] Switch to the virtual desktop on the right
[Win + Ctrl + ←] Switch to the virtual desktop on the left

macOS

Hotkey Action
[Cmd + Option + Esc] Open Force Quit Applications window
[Cmd + Spacebar] Open Spotlight Search
[Ctrl + Spacebar] Switch input source
[Shift + Cmd + 3] Take a screenshot
[Shift + Cmd + 4] Take a screenshot of a portion of the screen
[Shift + Cmd + 4 + Spacebar] Take a screenshot of a window or menu

iOS

Hotkey Action
[Power + Volume up] Take a screenshot
Hold [Power + Volume up] Turn off

Oh My Zsh

Hotkey Action
[Ctrl + Q] Park a command. It “parks” the command you’re currently typing and takes you back to the prompt,
letting you start over and type another command.
Once you run that other command, the original command is un-parked and refills the command line.

Editors

Nano

Hotkey Action
[Ctrl + W] Search

VS Code

Full list of hotkeys

General

Hotkey Action
[Ctrl + Shift + P, F1] Show Command Palette

Basic editing

Hotkey Action
[Alt + ↑/↓] Move line up/down
[Ctrl + Shift + K] Delete line
[Ctrl + Shift + \] Jump to the matching bracket
[Ctrl + ]/[] Indent/outdent line
[Ctrl + /] Toggle line comment
Hotkey Action
[Ctrl + P] Go to file
[Ctrl + G] Go to line
[Ctrl + Shift + O] Go to Symbol

Search and replace

Hotkey Action
[Ctrl + D] Add selection to next Find match
[Ctrl + F] Find
[Ctrl + H] Replace
[Alt + Enter] Select all occurrences of Find match
[Ctrl + K Ctrl + D] Move last selection to next Find match
[Alt + C/R/W] Toggle case-sensitive/regex/whole word
[F3/Shift + F3] Find next/previous

Rich languages editing

Hotkey Action
[F12] Go to Definition
[F2] Rename Symbol
[Ctrl + Shift + I] Format document

Multi-cursor and selection

Hotkey Action
[Alt + Click] Insert cursor
[Shift + Alt + I] Insert cursor at end of each line selected
[Ctrl + Shift + L] Select all occurrences of current selection
[Shift + Alt + (drag mouse)] Column (box) selection

Display

Hotkey Action
[Ctrl + Shift + F] Show Search
[Ctrl + Shift + E] Show Explorer/Toggle focus
[Ctrl + B] Toggle Sidebar visibility
[Ctrl + K Z] Zen Mode (Esc Esc to exit)

CLI

Hotkey Action
[Ctrl + A] Move the cursor to the start of the line
[Ctrl + E] Move the cursor to the end of the line
[Ctrl + X + X] Move the cursor to the start and to the end of the line
[Ctrl + R] Incrementally search the line history backwardly
[Ctrl + S] Incrementally search the line history forwardly
[Ctrl + C] Cancel
[TAB] Auto-complete a command

Terminator

Hotkey Action
[Ctrl + Page Down] Go to next tab
[Ctrl + Page Up] Go to previous tab
[F11] Toggle fullscreen
[Ctrl + Shift + O] Split terminals horizontally
[Ctrl + Shift + E] Split terminals vertically
[Ctrl + Shift + W] Close current Panel
[Ctrl + Shift + T] Open new tab
[Ctrl + Shift + I] Open a new window
[Alt + ↑] Move to the terminal above the current one
[Alt + ↓] Move to the terminal below the current one
[Alt + ←] Move to the terminal left of the current one
[Alt + →] Move to the terminal right of the current one
[Ctrl + Shift + G] Reset terminal state and clear window
[Ctrl + Shift + X] Toggle between showing all terminals and only showing the current one (maximise)
[Ctrl + Shift + +] Increase font size
[Ctrl + -] Decrease font size
[Ctrl + 0] Restore font size to original setting

Screen

Hotkey Action
[Ctrl + A, D] Detach from screen
[Ctrl + A, C] Create a new screen
[Ctrl + A, Space] Switch screens

Tmux

Hotkey Action
[Ctrl + B, D] Detach from session