[Top][All Lists]

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

Re: [Bug-readline] Custom vi mode bindings causes problems with some bui

From: Chet Ramey
Subject: Re: [Bug-readline] Custom vi mode bindings causes problems with some builtin commands
Date: Mon, 22 Jun 2015 14:54:28 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.7.0

On 6/22/15 1:16 PM, Carlos Pita wrote:
> Defining bindings for "operators" like d and c (v.g. daw and caw, see
> the recipe below) wreaks havoc with the dd, cc, and <dot> (vi-redo)
> commands in readline vi mode.

The mechanism used to allow longer key sequences to `shadow' but still
allow prefixes of those sequences to be bound to other commands discards
part of the original (shorter) key sequence.  This doesn't usually matter,
except when you need it -- like, say, with the vi-mode `d', `c', and `y'
commands.  I'll have to figure out the best way to fix this.


``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/

reply via email to

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