Hi Jason,

control-g is the default "escape" sequence in Mutt. From the manual:
> ^G is the generic “abort” key in Mutt. In addition to the line editor, it can 
> also be used to abort prompts. Generally, typing ^G at a confirmation prompt 
> or line editor should abort the entire action.

According to this link, it is not possible to re-bind the ^g operation: 
https://unix.stackexchange.com/questions/47773/rebinding-clear-prompt-in-mutt .

Regards,

-- 
Joel Buckley

On Mon, May 16, 2022 at 10:53:59AM -0400, Jason Franklin wrote:
> Greetings:
> 
> I have another question!
> 
> Let's say I am looking at the index and I hit the 'm' key to compose
> a new message. Mutt then issues a prompt like this...
> 
>   To:
> 
> Hitting the <Escape> key doesn't abort this process like I would expect.
> 
> The way I get around this is to hit <C-c> and then just tell Mutt "No"
> when it asks if I want to exit.
> 
> That is, if I start a process that has a series of prompts, I would
> expect for the <Escape> key to abort the action I'm performing.
> 
> Is there a way to have the <Escape> key get me out of a command-line
> prompt?
> 
> Thanks!
> 
> -- 
> Jason

Reply via email to