Excuse my insistence, but I use vi-like bindings even in my shell, after using mutt for decades I still insult RMS every time I mistakenly press Esc to abort a command. :-)
Could you give my patches *one* chance or at least let me know why they are ignored, please? https://en.roquesor.com/Downloads/muttesckey.tar.gz The following explanation is in the README file in the tarball. MAKING MUTT VI USERS FRIENDLY The goal of these patches is to provide an option (esc_key_aborts) for the convenience of vi users. When enabled, it replaces Ctrl-G key binding for Esc to "abort" commands. If anyone notices any change in mutt's default behavior while this option is not enabled, let me know please. What happens when it's enabled: - Since Esc key now aborts it won't work as a prefix for key bindings. (Arrow keys are not affected!) Mutt's initialization will print a warning for each <Esc><key> binding it parses in user's configuration files (not the hard coded ones in functions.h). - The help menu, besides of hiding <Esc><key> bindings, will also show a warning. The tarball includes my personal vi-like bindings file (vi.bindings.rc). Finally I've been using these patches for a long time without experiencing any problems. -- Walter