iTerm2 on Mac OSX: add alt-left, alt-right and alt-backspace behaviour

Posted by Arkham on January 9th, 2013

If you want iTerm2 to behave like the other Mac OSX applications, so that alt + left moves the previous word, alt + right moves to the next word and alt + backspace deletes the whole word, add these keyboard shortcuts from iTerm > Preferences > Profiles > Keys:

  • Alt + left: Send Escape Sequence, Esc + b
  • Alt + right: Send Escape Sequence, Esc + f
  • Alt + backspace: Send Hex Code, 0x17

This entry was posted on Wednesday, January 9th, 2013 at 00:38 and is filed under computers. You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.

Tags: , , , ,

One Response to “iTerm2 on Mac OSX: add alt-left, alt-right and alt-backspace behaviour”

  1. daniel Says:

    thanks a lot for that hint.