Word Movement in Terminal

For those of you who would rather move from word to word in the terminal with Option Left Arrow and Option Right Arrow here’s how:

  1. Open Terminal
  2. Open Preferences –> Setting Tab –> Keyboard Tab
  3. Click on the “+” Sign

For moving to the previous word set it the same as the following:
Previous word
To insert \033b you need to press the escape key and then press “b.” For moving to the next word set it the same as the following:
Next word
To \033f you need to press the escape key and then press “f.” (By default these functions are set to Option F and Option B respectively.)

[Via macromates.com]


 
 

Post a comment to "Word Movement in Terminal"