On 10 Mar 2017 09:21, Chet Ramey wrote: > On 3/10/17 9:06 AM, Per Bothner wrote: > > Maybe you can conditionalize readline so the default binding bound to > > backward-word > > is opt-left on Mac and control-left otherwise. > > That has been the default binding on Mac OS X forever. (Well, indirectly. > The default key sequence it puts out is ESC-b, which is the default > binding for backward-word.) > > You could probably get the control-arrow bindings to work as they do on > some other systems if you disabled the system-wide virtual desktop actions, > but few people will do that. > > In any event, I'll add them as default bindings and we'll see how it goes.
fwiw, we've bound these in Gentoo for over 10 years. i think Debian has as well. "\e[5C": forward-word "\e[5D": backward-word "\e[1;5C": forward-word "\e[1;5D": backward-word "\e\e[C": forward-word "\e\e[D": backward-word don't we have access to curses to look up key names based on the active term ? -mike
signature.asc
Description: Digital signature
_______________________________________________ Bug-readline mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-readline
