Skip to content

Instantly share code, notes, and snippets.

@fauzan-n
Created May 9, 2020 15:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fauzan-n/7523c104a87a9ffc70c85825ad58b082 to your computer and use it in GitHub Desktop.
Save fauzan-n/7523c104a87a9ffc70c85825ad58b082 to your computer and use it in GitHub Desktop.
After I cannot find article of Iterm2 complete shortcut, I tried all of the sortcut my self and write here. (Iterm2 Build 3.3.9 )
[DEFAULT]
CTRL + Q = delete whole line
CTRL + W = delete previous word
CTRL + E = go to end of line
CTRL + R = back search
CTRL + T = swap last characted (fix typo)
CTRL + Y = paste something
CTRL + U = delete whole line
CTRL + I = suggestion (same as tab)
CTRL + O = enter (same as return)
CTRL + P = go to previous command history
CTRL + A = go to beginning of line
CTRL + S = forward search
CTRL + D = delete right character
CTRL + F = go to next character
CTRL + G = cancel
CTRL + H = delete character
CTRL + J = enter (same as return)
CTRL + K = delete untill end of line
CTRL + L = clear screen
CTRL + Z = -
CTRL + X = block line
CTRL + C = cancel
CTRL + V = receive input keyboard code
CTRL + B = go to previous character
CTRL + N = go to next command history
CTRL + M = enter (same as return)
CTRL + 7 = undo
CTRL + 8 = delete character
CTRL + - = undo
[ESCAPE SEQUENCE]
ESC + Q = delete whole line
ESC + W = delete until beginning of line
ESC + T = swap word
ESC + U = capitalize next word
ESC + A = enter
ESC + S = go to last character of next word
ESC + D = delete next word
ESC + F = go to first character of next word
ESC + H = search manual entry
ESC + L = run 'ls'
ESC + C = capitalize first charcter of next word
ESC + B = go to previous word
ESC + ' = wrap with single quote
ESC + M = copy and paste word
ESC + , = search word from history backward
ESC + . = add command with history
ESC + / = search word from history forward
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment