I want to move left and right by words using ctrl + left/right arrow in terminal (I'm on ubuntu 12.10). Currently when I use these keystrokes I get ;5D or ;5C appended onto the line, which is useless for me.
Tell me more
×
Super User is a question and answer site for
computer enthusiasts and power users. It's 100% free, no registration required.
|
|
|||
|
|
|
Use Escb to go backward and Escf to go forward. See https://www.gnu.org/software/bash/manual/bash.html#Command-Line-Editing |
|||||
|
|
glenn jackman's answer above pointed me in the right direction, and I've figured it out - add the following lines into file
|
|||
|
|