help-bash
[Top][All Lists]
Advanced

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

Re: [Help-bash] bash insert mode mappings


From: Chet Ramey
Subject: Re: [Help-bash] bash insert mode mappings
Date: Tue, 07 Aug 2012 20:44:04 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:13.0) Gecko/20120614 Thunderbird/13.0.1

On 8/5/12 9:39 PM, clark wang wrote:

> But seems like this does not work (Tested with 4.0.28 and 4.1.9):
> 
>   bind -m vi-insert '"teh": "the"'
> 
> There must be a bug here.

There is, thanks for spotting it.  It happens when the key sequence and
the replacement text share one or more initial characters.  It will be
fixed in the next release of bash/readline.

Chet


-- 
``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]