[wellylug] Bash key bindings

David Antliff david.antliff at gmail.com
Sat Feb 18 15:04:23 NZDT 2006



On Sat, 18 Feb 2006, Darryl Hamilton wrote:
> 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 use this (~/.inputrc):

# move per-word with CTRL-left/right arrows
"\eOc": forward-word
"\eOd": backward-word

Does that work for you?

-- 
David.




More information about the wellylug mailing list