Control left and right don't work in CLI

fta

Vu+ Newbie
I know this is a minor issue, but if you are used to jumping words backward and forward using Control+Left and Control+Right in the CLI (Command Line Interface) throughout Linux, in Ubuntu, in Archlinux, in OpenWrt, everywhere, and you can't in OpenBH (4.3), you ask yourself, why?
If you try you end up with ;5C and ;5D on the output, and no jumps.
Is there any way to configure bash to do this?
 

fta

Vu+ Newbie
I found it already. Just add:

Code:
"\e[1;5C": forward-word
"\e[1;5D": backward-word

to /etc/inputrc. There are a few commented out mappings for word moving already. Just paste these lines there somewhere.
 
Top