[Top][All Lists]

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

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

From: Per Bothner
Subject: Re: [Bug-readline] add control-arrow bindings
Date: Fri, 10 Mar 2017 09:06:53 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0

On 03/10/2017 08:31 AM, Chet Ramey wrote:

They might even work on Mac OS, though the modifier key needed might be

No, I tried all of these long ago.  There is basic consistency across
terminal emulators when using opt-arrow (control-arrow is a system key
binding that switches virtual desktops), and none of Terminal/iTerm/aterm
/xterm output any of those key sequences.

What key sequences does opt-left emit?  Is it some variation of "\e[1;MD"
for some value of "M"?

Maybe you can conditionalize readline so the default binding bound to 
is opt-left on Mac and control-left otherwise.
        --Per Bothner
address@hidden   http://per.bothner.com/

reply via email to

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