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"
Written by Terry Dellino
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Iterm
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#