Last Updated: February 25, 2016
· jasdeepsingh

Easy Bash/ZSH Movement in Mac OS X Terminal

To edit long commands and surfing these long lines of text by word on Mac OS X Bash or ZSH

Do the following:

  1. Activate Meta Key: Terminal > Preferences > Settings > Use option as meta key

  2. Now you can use Option+B for moving backward and Option+F for moving forward BY WORD on the command line.