bug-bash
[Top][All Lists]
Advanced

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

Re: Hitting Esc twice auto-completes


From: Clark WANG
Subject: Re: Hitting Esc twice auto-completes
Date: Wed, 21 Nov 2012 10:39:14 +0800

On Wed, Nov 21, 2012 at 6:40 AM, smu johnson <smujohnson@gmail.com> wrote:

> Hi.
>
> If you are in regular emacs mode in Bash, and you hit Esc twice, it acts as
> an auto-complete, similar to just hitting tab.
>
> I cannot find this behaviour in any of the system wide bash defaults in
> /etc, or any of my own dotfiles.
>

$ bind -p | grep 'complete$'
"\C-i": complete
"\e\e": complete
$

Not sure if \e\e is on by default but if you want to disable it:

$ bind -r '\e\e'
$bind -p | grep 'complete$'
"\C-i": complete
$


>
> An op on Freenode.#bash confirmed it happened on his too, and he uses "GNU
> bash, version 4.2.39(2)-release (i686-pc-linux-gnu)".  His is far more
> recent version than mine.
>
> Thanks in advance.
>
>
> --
> smu johnson <smujohnson@gmail.com>
>


reply via email to

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