Last Updated: February 25, 2016
·
900
· terenced

Word movement in iTerm2

In .inputrc: (create it in ~/ if it does not exist)
"\e[D": backward-word
"\e[C": forward-word

In iTerm2:
- Left/Right Option Key acts as: +Esc
- Add mapping of opt-left to "send escape sequence" of "Esc+" + "[D"
- Similarly for opt-right, except "[C"