Skip to content

Instantly share code, notes, and snippets.

@antirez
Created September 12, 2011 16:45
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save antirez/1211737 to your computer and use it in GitHub Desktop.
Save antirez/1211737 to your computer and use it in GitHub Desktop.
How to add cmd-left-arrow and cmd-right-arrow (without shift) key bindings to the mac os x Terminal
app if the Lion install removed this bindings from your system.
1) Open "System Preferences".
2) Go to "Keyboard".
3) Select the "Keyboard Shortcuts" tab.
4) Select "Application Shortcuts" from the list of items in the left.
5) Press "+" to add a new shurtcut.
6) As "Application" select "Terminal", as "Menu Title" use: "Select Next Tab". For the "Keyboard Shortcut" field just select the field and press cmd-right-arrow.
7) Repeat again from step 5, using "Select Previous Tab" as Menu Title and pressing cmd-left-arrow as keyboard shortcut.
Enjoy your Terminal app usable again as a code writing tool.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment