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


Groups > gnu.bash.bug > #14513

Re: bind -u not working for keyseq starting with \e

From Chet Ramey <chet.ramey@case.edu>
Newsgroups gnu.bash.bug
Subject Re: bind -u not working for keyseq starting with \e
Date 2018-08-20 19:26 -0400
Organization ITS, Case Western Reserve University
Message-ID <mailman.5342.1534807622.1292.bug-bash@gnu.org> (permalink)
References <CAK7k5HHcx9t7OhR8wCRgZPVHH-A-CJqDojpqviDWruOLd4=i6g@mail.gmail.com>

Show all headers | View raw


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

> Bash Version: 4.4
> Patch Level: 18
> Release Status: release
> 
> Description:
> 
> bind -u not working for keyseq starting with \e

In the absence of a keymap argument, the `-u' option works in the current
keymap (like most of the rest of the bind options). You can get it to work
by specifying the keymap:

bind -m emacs-meta -u non-incremental-forward-search-history

assuming you're using emacs editing mode.

Chet

-- 
``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: bind -u not working for keyseq starting with \e Chet Ramey <chet.ramey@case.edu> - 2018-08-20 19:26 -0400

csiph-web