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


Copy this code and paste it in your HTML
  1. To config Terminal do move (left and right) word-by-word:
  2. - Esc + b (left)
  3. - Esc + f (right)
  4.  
  5. To configure it to Alt + left and right:
  6. - Open Terminal preferences (command + ,);
  7. - At Keyboard tab, select "control cursor left (or right)" and doubleckick it;
  8. - Left: Select the combo "modifier" to "option" and the action to \033b
  9. - Right: Select the combo "modifier" to "option" and the action to \033f
  10.  
  11. Enjoy

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

Report this snippet


Comments


You need to login to view comments.