bug-bash
[Top][All Lists]
Advanced

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

Re: reverse-i-search not work fine when mapping jj to ESC in vi mode


From: Chet Ramey
Subject: Re: reverse-i-search not work fine when mapping jj to ESC in vi mode
Date: Mon, 18 Jul 2011 09:53:38 -0400

> Try like this:
> 
> [bash-4.2.8] # set -o vi
> [bash-4.2.8] # bind -m vi-insert '"jj": "\e"'
> [bash-4.2.8] # echo jk
> [bash-4.2.8] # echo k
> [bash-4.2.8] #
> 
> Then press ctrl-r and enter jk to search. It'll find ``echo k'' instead of
> ``echo jk''. Bug?

Thanks for the report.  Yes, it's a bug with keymap indexing in isearch.  It
will be fixed in the next release.

Chet

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



reply via email to

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