/ Published in: Bash
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
- 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
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
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/