In Preferences->Profiles->Keys:
find "option ←" and edit its "action" like this: select "send escape sequence" and in the "escape sequence box" enter "b"
find "option →" and edit its "action" like this: select "send escape sequence" and in the "escape sequence box" enter "f"
Add this to your ~/.inputrc:
#Pressing alt+left/right arrow force cursor to jump 1 word left/right
"\e[1;9D": backward-word
"\e[1;9C": forward-word
Комментариев нет:
Отправить комментарий