Return to Snippet

Revision: 23625
at February 10, 2010 09:39 by nalmeida


Initial Code
To config Terminal do move (left and right) word-by-word:
 - Esc + b (left)
 - Esc + f (right)

To configure it to Alt + left and right:
 - 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

Enjoy

Initial URL
http://www.mactips.org/archives/2007/12/20/word-movement-in-terminal/

Initial Description
To config Terminal do move (left and right) word-by-word:
 - Esc + b (left)
 - Esc + f (right)

To configure it to Alt + left and right:
 - 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

Enjoy

Initial Title
Config terminal to move word-by-word

Initial Tags
mac, terminal

Initial Language
Bash