Re: How do I rebind the keys in the attachment prompt?

2022-02-17 Thread Kevin J. McCarthy

On Wed, Feb 16, 2022 at 05:23:51PM -0700, li...@ifohancroft.com wrote:
When you are on the compose screen and you hit 'a' (attach-file) you 
get an attachment prompt, that says:

Attach file ('?' for list):

There you have 3 options (that's how many I found):
1. Hit ? and you get a list of your mailbox folders


'?' is hard-coded, and occurs outside of the browser or editor menus.

If you type '?' it launches the browser menu in *file* mode.  The first 
time it is run, the file browser will default to $folder, but it will 
remember the last directory used when launched again.


2. Hit Tab and you get the browser showing your local files (and you 
can select an attachment from there
3. Just type the path to an attachment (and you can use Tab to 
autocomplete the name).


Any other key besides '?' will launch the editor menu.  There is no 
help, but you can see the bindings at 
.


--
Kevin J. McCarthy
GPG Fingerprint: 8975 A9B3 3AA3 7910 385C  5308 ADEF 7684 8031 6BDA


signature.asc
Description: PGP signature


How do I rebind the keys in the attachment prompt?

2022-02-16 Thread lists

Hi,

I am totally lost about this:

When you are on the compose screen and you hit 'a' (attach-file) you get 
an attachment prompt, that says:

Attach file ('?' for list):

There you have 3 options (that's how many I found):
1. Hit ? and you get a list of your mailbox folders
2. Hit Tab and you get the browser showing your local files (and you can 
select an attachment from there
3. Just type the path to an attachment (and you can use Tab to 
autocomplete the name).


How do I rebind the keys for this prompt? Like setting a key to hit 
instead of Tab to show the file browser or remapping the action that 
currently is bound to ? to something else. I went through Mutt's manual 
multiple times and couldn't find anything about it.


Is there a help screen for this prompt? How do you open it?

Also, is there a setting I can configure so when I hit ? for 'list' I 
get the file browser as opposed to the mailboxes.


Best Regards,
IFo Hancroft