Config terminal to move word-by-word


/ Published in: Bash
Save to your folder(s)

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

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

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.