Home‎ > ‎

iTerm2 Cursor Movement

posted Dec 13, 2012, 9:43 AM by Allen Gattis   [ updated Dec 14, 2012, 8:01 AM ]
There is one thing iTerm2 lacks; the default ability to move the cursor a word at a time. To fix this, edit the preferences -> profiles -> default -> keys, and add the following:
  • To move cursor word-by-word backward: Mapped Option + Left Arrow key to "Send Escape Sequence" and b
  • To move cursor word-by-word forward: Mapped Option + Right Arrow key and "Send Escape Sequence" and f
  • To add the 'forward-delete' (delete a word to the right of the curso): control + delete and Send Escape Sequence" and d