Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #14446

Re: Rebinding forward-search-history causes lost of incremental behaviour

From Chet Ramey <chet.ramey@case.edu>
Newsgroups gnu.bash.bug
Subject Re: Rebinding forward-search-history causes lost of incremental behaviour
Date 2018-08-06 09:48 -0400
Message-ID <mailman.4746.1533563323.1292.bug-bash@gnu.org> (permalink)
References <CAK7k5HHiGbsg47-EgUqCj05a9_iWOAnZ+SYROJXEetAYdB-eTw@mail.gmail.com>

Show all headers | View raw


On 8/6/18 9:37 AM, Hugo Gabriel Eyherabide wrote:

> Bash Version: 4.4
> Patch Level: 18
> Release Status: release
> 
> Description:
> 
> Rebinding forward-search-history through
> bind '"\er": forward-search-history'
> does trigger the function, but not incrementally as \C-s does (when pressed
> repeatedly).

Because ESC (\e) is still one of the characters that terminates an
incremental search. The ESC terminates the search, but if you're quick
enough with the r, it will be pushed and prefix a new key sequence.


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

Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread


Thread

Re: Rebinding forward-search-history causes lost of incremental behaviour Chet Ramey <chet.ramey@case.edu> - 2018-08-06 09:48 -0400

csiph-web