Skip to content

Instantly share code, notes, and snippets.

@soifou
Last active August 31, 2024 17:26
Show Gist options
  • Save soifou/2ff3202f16e2efd9bab4 to your computer and use it in GitHub Desktop.
Save soifou/2ff3202f16e2efd9bab4 to your computer and use it in GitHub Desktop.
iTerm2 Shortcuts

iTerm2 Shortcuts

Tab navigation

  • open new tab: Cmd + t
  • next tab: Cmd + Shift + ]
  • previous tab: Cmd + Shift + [

Pane navigation

  • split pane left-right: Cmd + d
  • split pane top-bottom: Cmd + Shift + d
  • next pane: Cmd + ]
  • previous pane: Cmd + [

Search

  • open search bar: Cmd + f
  • find next: Cmd + g

Input to all panes

  • input to all panes in current tab: Cmd + Alt + i

Clear screen

  • clear buffer: Cmd + k
  • clear lines (Bash command): Ctrl + l

Zooming / Font Resize

  • toggle maximize window: Cmd + Alt + =
  • toggle full screen: Cmd + Enter
  • make font larger: Cmd + +
  • make font smaller: Cmd + -

Other

  • open preferences: Cmd + ,
@martinmarques
Copy link

martinmarques commented May 21, 2022

Add cmd+K to clear the screen and the buffer. Else scrolling up you can see the output from previous executions.
This is very handy when dealing with output that can have sensitive data, like passwords

@seamusdemora
Copy link

@martinmarques :

Add cmd+K to clear the screen and the buffer. Else scrolling up you can see the output from previous executions. This is very handy when dealing with output that can have sensitive data, like passwords

cmd+K already exists, but clears the entire buffer - right??

@boogybren
Copy link

⌘K hasn't worked for me for quite some time. It is still in Edit menu and it works if I select it manually. Am I the only one seeing this?

@Act0r1
Copy link

Act0r1 commented Aug 31, 2024

can i in some way turn off this stupid shortcut ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment