Skip to content

Instantly share code, notes, and snippets.

@raviwu
Last active March 27, 2016 04:46
Show Gist options
  • Save raviwu/e95034e79e87b3ae2798 to your computer and use it in GitHub Desktop.
Save raviwu/e95034e79e87b3ae2798 to your computer and use it in GitHub Desktop.
shortcuts for iTerm 2

Shortcut of iTerms2

windows and tabs

  • command + T to open new tab
  • shift + command + [ / ] to switch between tabs
  • command + W to close the tab
  • command + D to have vertical divided windows
  • command + [ / ] to switch between windows

cursor

  • ctrl + a to go to the beginning of line
  • ctrl + e to go to the end of line
  • ctrl + f/b to move the cursor
  • ctrl + p to get last command
  • ctrl + r to search history
  • ctrl + d to delete the current character
  • ctrl + h to delete previous characters from current cursor
  • ctrl + w to delete previous word from current cursor
  • ctrl + k to delete following charaters from current cursor
  • command + / to locate cursor position

font size

  • command + -/+ to decrease or increase the font size
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment