On Thu, Jan 27, 2022 at 05:31:01PM +0000, Chris Green wrote:
> Is there a way of accessing the current mailbox name (i.e. for maildir
> the directory name) in mutt?

IIRC, the caret symbol (^) can be used as a shortcut for the current
mailbox.

Possibly relevant sections of the manual:

http://www.mutt.org/doc/manual/#shortcuts

http://www.mutt.org/doc/manual/#folder-hook

http://www.mutt.org/doc/manual/#mailbox-hook


> This is so I can put it in things like a 'set editor=<something>'
> command to pass to the 'editor'.

Haven't tried using a caret in such a command myself.  Let us know how
you get on.


Best wishes,

Sam

-- 
A: When it messes up the order in which people normally read text.
Q: When is top-posting a bad thing?

()  ASCII ribbon campaign. Please avoid HTML emails & proprietary
/\  file formats. (Why? See e.g. https://v.gd/jrmGbS ). Thank you.

Reply via email to