Skip to content

Instantly share code, notes, and snippets.

@jfelixetcetera
Created November 19, 2010 19:01
Show Gist options
  • Save jfelixetcetera/706962 to your computer and use it in GitHub Desktop.
Save jfelixetcetera/706962 to your computer and use it in GitHub Desktop.
To config Mac OS X Terminal to move (left and right) word-by-word:
- Esc + b (left)
- Esc + f (right)
To configure it to Alt + left and right arrows:
- Open Terminal preferences (command + ,);
- At Keyboard tab, select "control cursor left (or right)" and doubleckick it;
- Left: Select the combo "modifier" to "option" and the action to \033b
- Right: Select the combo "modifier" to "option" and the action to \033f
(via http://www.mactips.org/archives/2007/12/20/word-movement-in-terminal)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment