Вы находитесь на странице: 1из 3

9/9/2018 iterm2 cheatsheet · GitHub

Instantly share code, notes, and snippets.


squarism / iterm2.md
Last active 2 days ago

iterm2 cheatsheet
iterm2.md

Tabs and Windows


Function Shortcut
Fullscreen ⌘ + Enter
Previous Tab ⌘ + Left Arrow

Next Tab ⌘ + Right Arrow

Go to Tab ⌘ + Number

Go to Window ⌘ + Option + Number

Go to Split Pane by Direction ⌘ + Option + Arrow

Go to Split Pane by Order of Use ⌘ + ] , ⌘ + [

Split Window Horizontally (same profile) ⌘ + D

Split Window Vertically (same profile) ⌘ + d

Split Window Horizontally (new profile) Option + ⌘ + H

Split Window Vertically (new profile) Option + ⌘ + V

Set Mark ⌘ + M

Jump to Mark ⌘ + J

Basic Moves
Function Shortcut
Move back one character Ctrl + b

Move forward one character Ctrl + f

Delete current character Ctrl + d

Delete previous character Backspace

Undo Ctrl +-

Moving Faster
Function Shortcut
https://gist.github.com/squarism/ae3613daf5c01a98ba3a 1/3
9/9/2018 iterm2 cheatsheet · GitHub

Function Shortcut
Move to the start of line Ctrl + a

Move to the end of line Ctrl + e

Move forward a word Option + f

Move backward a word Option + b

Clear the screen ⌘ + k

COPY and Paste


Function Shortcut
Copy from cursor to the end of line Ctrl + k

Copy from cursor to the end of word Option + d

Copy from cursor to the start of word Option + Backspace

Copy from cursor to previous whitespace Ctrl + w

Paste the last copied text Ctrl + w

Loop through and paste previously copy text Option + y

Loop through and paste the last argument of previous commands Option + .

Search the Command History


Function Shortcut
Ctrl + r and type the search term; Repeat Ctrl + r to loop through
Search as you type result
Search the last remembered search + r twice
term Ctrl

End the search at current history entry Ctrl +y


Cancel the search and restore original +g
line Ctrl

nmacafee commented on Oct 26, 2017


Thank you. As a new iTerm user this is very helpful.

DarkMukke commented on Nov 3, 2017 • edited


You are missing ⌘ + Shift + i to input across all tabs and Ctrl + l to clear the window

inevity commented on Jan 4

https://gist.github.com/squarism/ae3613daf5c01a98ba3a 2/3
9/9/2018 iterm2 cheatsheet · GitHub
why denied?

bhochhi commented on Feb 12


Thanks!! One more: ctrl + ⌘ + Arrow for resizing active pane.

ardinusawan commented on Mar 9


Can iTerm2 Fullscreen in split terminal?

jcaffrey commented on Mar 23


option + f and option + b doesn't work if you don't set your option key in preferences > keys

paraggit commented on Apr 3


can we fire command at a time in multiple windows?

rajpootmohan commented on Apr 5


paraggit .... you can do in multiple tabs using ⌘ + Shift + i . Not sure about multiple windows.

paulb777 commented 18 days ago


Is there anyway to clear the output of the previous command?

jaredpavan commented 16 days ago


On my last laptop I used to be able to press Ctrl + s to do a forward search in the case that I pressed Ctrl + r one too many times
and need to search forward once or twice. Is there a config that I need to change to restore this functionality?

Dawqss commented 2 days ago


Good Job

https://gist.github.com/squarism/ae3613daf5c01a98ba3a 3/3

Вам также может понравиться