At 2017-11-12T18:49:50+1100, Yuriy Ershov wrote: > So.. Guys, this is really easy to reproduce. > Can someone confirm this is a bug? > Or else pease tell me how do I map a key sequence starting with ESC (which > is essentially any sane key/combination) to the *-search-history command.
bind '"\ez": forward-search-history' ...maps forward-search-history to Escape Z. You can confirm that the binding is absent or present by running: bind -q | grep z before and after the binding command, respectively. Note that incremental searches don't wrap the command history, so forward-search-history is only useful after the history search "cursor" (not the command-line cursor) is far enough back to match something. One generally gets it there with reverse-search-history (C-s) first. -- Regards, Branden
signature.asc
Description: PGP signature
_______________________________________________ Bug-readline mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-readline
