[wellylug] Bash key bindings

Grant McLean grant at mclean.net.nz
Sat Feb 18 16:19:48 NZDT 2006


On Sat, 2006-02-18 at 15:45 +1300, Darryl Hamilton wrote:
> David Antliff wrote:
> > I use this (~/.inputrc):
> > 
> > # move per-word with CTRL-left/right arrows
> > "\eOc": forward-word
> > "\eOd": backward-word
> > 
> > Does that work for you?
> 
> Hrm. It does if I use rxvt, but not with gnome-terminal (so it looks
> like I was wrong).
> 
> What $TERM gets set for you? (if you use Gnome and its terminal)

My .inputrc has these entries:

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

My $TERM contains 'xterm' although I'm actually running gnome-terminal.

Cheers
Grant





More information about the wellylug mailing list