[Top][All Lists]

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

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

From: Chet Ramey
Subject: Re: Rebinding forward-search-history causes lost of incremental behaviour
Date: Mon, 6 Aug 2018 09:48:33 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

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    address@hidden    http://tiswww.cwru.edu/~chet/

reply via email to

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