bug-readline
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-readline] add control-arrow bindings


From: Mike Frysinger
Subject: Re: [Bug-readline] add control-arrow bindings
Date: Mon, 13 Mar 2017 14:06:45 -0400

On 13 Mar 2017 11:41, Chet Ramey wrote:
> On 3/12/17 11:05 PM, Mike Frysinger wrote:
> > fwiw, we've bound these in Gentoo for over 10 years.  i think Debian
> > has as well.
> 
> What key combinations output these sequences?

here's the Gentoo docs:
# gnome / others (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
# gnome / konsole / others (control + arrow key)
"\e[1;5C": forward-word
"\e[1;5D": backward-word
# gnome / konsole / others (alt + arrow key)
"\e[1;3C": forward-word
"\e[1;3D": backward-word
-mike

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]