[wellylug] Bash key bindings

Simon Antliff simon.antliff at gmail.com
Mon Feb 20 08:52:49 NZDT 2006


On 2/18/06, Darryl Hamilton <> wrote:
> So, does anyone have any ideas?


I have this:

# gnome-terminal (escape + arrow key)
"\e[5C": forward-word
"\e[5D": backward-word
# konsole / xterm / rxvt (escape + arrow key)
"\e\e[C": forward-word
"\e\e[D": backward-word
# aterm / eterm (control + arrow key)
"\eOc": forward-word
"\eOd": backward-word


I've also seen

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


If none of these work, try

$ cat

then press the combination (ctrl-left). Then email us with what you get.
You might need to replace ^[ with \e.


Simon




More information about the wellylug mailing list