[wellylug] Bash key bindings
Darryl Hamilton
wellylug at addict.net.nz
Sat Feb 18 10:28:42 NZDT 2006
Hi
I've been beating my head against an apparently thick wall trying to
figure this out and getting nowhere.
What I'm wanting to do is bind ctrl-left-arrow to backward-word and
ctrl-right-arrow to forward-word (Bash 3.1, Emacs mode).
I've tried several combinations (in both .inputrc and /etc/inputrc)
along the lines of
"control-leftarrow": backward-word
control-leftarrow: backward-word
"\C-\e[5d": backward-word
"\C-[5d": backward-word
"\C-\e5d": backward-word
but none of them work. This is frustrating the hell out of me. I've
googled as much as I can, but again, nothing that works. I know it's not
the keyboard or gnome-terminal because both keybindings work fine on a
Redhat system (and appear to be a default setting).
So, does anyone have any ideas?
D.
More information about the wellylug
mailing list