Take the 2-minute tour ×  By default, when entering information
at the command prompt in mutt, you can clear the prompt with
Ctrlg, as described in the manual:  ^G              n/a
abort  I have been trying to bind this function to Escape.
Unfortunately, abort is not listed in the available functions,
either in the manual, or in the source.  I have tried using this
in my .muttrc:  bind editor <esc>       abort  but it throws an
error:  Error in /home/jason/.mutt/muttrc, line 143: abort: no
such function in map  I have tried using a different map, like
(generic) and experimented with other fictitious functions, like
clear, to no avail.  How would I bind Escape to clear the prompt
line?  share|improve this question Binding escape is not a good
idea as the escape character (sent upon pressing escape) is also
the prefix for escape sequences sent by all function keys like
arrows, del, F1... –  Stephane Chazelas Sep 11 '12 at 6:20
That's a good point that I had not considered. Testing it,
Escape needs t