WezTerm cheat sheet for Mac and Windows

73 shortcuts in 11 lessons for Mac

73 shortcuts in 11 lessons for Windows

Reading a list won't make them stick. ShortcutFoo has you type each shortcut, then brings it back just before you'd forget it.

WezTerm shortcuts for Mac

Essentials I

7 shortcuts
  • ⌘C
    Copy the selection
  • ⌘V
    Paste from the clipboard
  • ⌘F
    Search the scrollback
  • ⌘K
    Clear the scrollback
  • ⌘R
    Reload the configuration
  • ⌥↵
    Toggle full screen
  • ^⇧P
    Open the command palette

Essentials II

7 shortcuts
  • ⌘=
    Increase the font size
  • ⌘-
    Decrease the font size
  • ⌘0
    Reset the font size
  • ⇧PAGEUP
    Scroll up a page
  • ⇧PAGEDOWN
    Scroll down a page
  • ^⇧U
    Open the character picker
  • ^⇧L
    Show the debug overlay

Tabs

6 shortcuts
  • ^⇧PAGEUP
    Move the tab left
  • ^⇧PAGEDOWN
    Move the tab right
  • ⌘1
    Go to tab 1
  • ⌘2
    Go to tab 2
  • ⌘3
    Go to tab 3
  • ⌘9
    Go to the last tab

Panes

7 shortcuts
  • ^⌥⇧"
    Split the pane top and bottom
  • ^⌥⇧%
    Split the pane left and right
  • ^⇧LEFT
    Focus the pane on the left
  • ^⇧RIGHT
    Focus the pane on the right
  • ^⇧UP
    Focus the pane above
  • ^⇧DOWN
    Focus the pane below
  • ^⇧Z
    Zoom the pane

Resizing and Modes

6 shortcuts
  • ^⌥⇧LEFT
    Grow the pane to the left
  • ^⌥⇧RIGHT
    Grow the pane to the right
  • ^⌥⇧UP
    Grow the pane upward
  • ^⌥⇧DOWN
    Grow the pane downward
  • ^⇧X
    Enter copy mode
  • ^⇧SPACE
    Enter quick select mode

Copy Mode Movement

7 shortcuts
  • H
    Move left
  • J
    Move down
  • K
    Move up
  • L
    Move right
  • W
    Move forward one word
  • B
    Move backward one word
  • E
    Move to the end of the word

Copy Mode Lines

6 shortcuts
  • 0
    Move to the start of the line
  • ⇧$
    Move to the end of the line
  • ⇧^
    Move to the start of the indented line
  • ↵
    Move to the start of the next line
  • G
    Move to the top of the scrollback
  • ⇧G
    Move to the bottom of the scrollback

Copy Mode Screen

7 shortcuts
  • ⇧H
    Move to the top of the viewport
  • ⇧M
    Move to the middle of the viewport
  • ⇧L
    Move to the bottom of the viewport
  • ^B
    Move up one screen
  • ^F
    Move down one screen
  • ^U
    Move up half a screen
  • ^D
    Move down half a screen

Copy Mode Selection

7 shortcuts
  • V
    Start a cell selection
  • ⇧V
    Start a line selection
  • ^V
    Start a rectangular selection
  • O
    Move to the other end of the selection
  • ⇧O
    Move to the other end horizontally
  • Y
    Copy and exit copy mode
  • Q
    Exit copy mode

Copy Mode Jumps

6 shortcuts
  • F
    Jump forward to a character
  • ⇧F
    Jump backward to a character
  • T
    Jump forward to just before a character
  • ⇧T
    Jump backward to just after a character
  • ;
    Repeat the last jump
  • ,
    Repeat the last jump in reverse

Search Mode

7 shortcuts
  • ^N
    Go to the next match
  • ^P
    Go to the previous match
  • ^R
    Cycle the match type
  • ^U
    Clear the search pattern
  • PAGEUP
    Go to the previous page of matches
  • PAGEDOWN
    Go to the next page of matches
  • ESC
    Close the search

WezTerm shortcuts for Windows

Essentials I

7 shortcuts
  • ^⇧C
    Copy the selection
  • ^⇧V
    Paste from the clipboard
  • ^⇧F
    Search the scrollback
  • ^⇧K
    Clear the scrollback
  • ^⇧R
    Reload the configuration
  • ⌥↵
    Toggle full screen
  • ^⇧P
    Open the command palette

Essentials II

7 shortcuts
  • ^=
    Increase the font size
  • ^-
    Decrease the font size
  • ^0
    Reset the font size
  • ⇧PAGEUP
    Scroll up a page
  • ⇧PAGEDOWN
    Scroll down a page
  • ^⇧U
    Open the character picker
  • ^⇧L
    Show the debug overlay

Tabs

6 shortcuts
  • ^⇧PAGEUP
    Move the tab left
  • ^⇧PAGEDOWN
    Move the tab right
  • ^⇧1
    Go to tab 1
  • ^⇧2
    Go to tab 2
  • ^⇧3
    Go to tab 3
  • ^⇧9
    Go to the last tab

Panes

7 shortcuts
  • ^⌥⇧"
    Split the pane top and bottom
  • ^⌥⇧%
    Split the pane left and right
  • ^⇧LEFT
    Focus the pane on the left
  • ^⇧RIGHT
    Focus the pane on the right
  • ^⇧UP
    Focus the pane above
  • ^⇧DOWN
    Focus the pane below
  • ^⇧Z
    Zoom the pane

Resizing and Modes

6 shortcuts
  • ^⌥⇧LEFT
    Grow the pane to the left
  • ^⌥⇧RIGHT
    Grow the pane to the right
  • ^⌥⇧UP
    Grow the pane upward
  • ^⌥⇧DOWN
    Grow the pane downward
  • ^⇧X
    Enter copy mode
  • ^⇧SPACE
    Enter quick select mode

Copy Mode Movement

7 shortcuts
  • H
    Move left
  • J
    Move down
  • K
    Move up
  • L
    Move right
  • W
    Move forward one word
  • B
    Move backward one word
  • E
    Move to the end of the word

Copy Mode Lines

6 shortcuts
  • 0
    Move to the start of the line
  • ⇧$
    Move to the end of the line
  • ⇧^
    Move to the start of the indented line
  • ↵
    Move to the start of the next line
  • G
    Move to the top of the scrollback
  • ⇧G
    Move to the bottom of the scrollback

Copy Mode Screen

7 shortcuts
  • ⇧H
    Move to the top of the viewport
  • ⇧M
    Move to the middle of the viewport
  • ⇧L
    Move to the bottom of the viewport
  • ^B
    Move up one screen
  • ^F
    Move down one screen
  • ^U
    Move up half a screen
  • ^D
    Move down half a screen

Copy Mode Selection

7 shortcuts
  • V
    Start a cell selection
  • ⇧V
    Start a line selection
  • ^V
    Start a rectangular selection
  • O
    Move to the other end of the selection
  • ⇧O
    Move to the other end horizontally
  • Y
    Copy and exit copy mode
  • Q
    Exit copy mode

Copy Mode Jumps

6 shortcuts
  • F
    Jump forward to a character
  • ⇧F
    Jump backward to a character
  • T
    Jump forward to just before a character
  • ⇧T
    Jump backward to just after a character
  • ;
    Repeat the last jump
  • ,
    Repeat the last jump in reverse

Search Mode

7 shortcuts
  • DOWN
    Go to the next match
  • UP
    Go to the previous match
  • ^R
    Cycle the match type
  • ^U
    Clear the search pattern
  • PAGEUP
    Go to the previous page of matches
  • PAGEDOWN
    Go to the next page of matches
  • ESC
    Close the search