[neomutt-users] how to go to directory view immediately when <change-folder>?
Stefan Kropp
stefan.kropp at vlug-hessen.de
Sat Dec 16 07:29:38 CET 2017
Am Freitag, den 15.12.2017 um 17:20:02 +0100 schrieb Jörg Sommer:
> Peter P. hat am Fri 15. Dec, 11:16 (+0100) geschrieben:
> > I am constantly stumbling across neomutt trying to help me in my daily
> > life by only showing me folders with new mail when I press 'c' which I
> > have mapped to <change-folder>.
> > I know that I can press TAB to see all folders (aka directory mode), but
> > don't want to switch every time.
> >
> > Is there a way to have neomutt display all folders upon <change-folder>
> > and possibly mark the ones with new mail with a tag such as 'N'?
> >
> > I know that I could use a workaround such as
> > macro index,pager c "<change-folder><tab>"
> > but this causes some other problems...
>
> I'm using
>
> macro index m "<change-folder>?<sort-reverse>d"
Thanks! Good idea. I'm using notmuch + vfolders.
I just tried
macro index X <change-vfolder>?<sort-reverse>=n
looks fine.
1 707/ 707 Ungelesene E-Mails
2 640/1425 E-Mails von diesem Monat
3 287/ 402 E-Mails von dieser Woche
4 275/ 707 Debian
5 238/ 611 Debian-User
[...]
>
> and
>
> mailboxes `echo $HOME/Mail/mdir/*`
> set folder_format="%3C %t%N %5n %-30f %d %9s"
>
> %N expands to N, if the mailbox contains new messages.
>
> Jörg
--
Mit freundlichen Grüßen,
Stefan Kropp
--------------------------------------------------------------------------------
Virtuellen Linux User Group Hessen http://www.vlug-hessen.de
--------------------------------------------------------------------------------
GPG-Key: 0x57D15D0E
Fingerabdruck: F816 9815 37F6 B96C 5A9C 8289 C192 3057 57D1 5D0E
--------------------------------------------------------------------------------
-------------- n�chster Teil --------------
Ein Dateianhang mit Bin�rdaten wurde abgetrennt...
Dateiname : signature.asc
Dateityp : application/pgp-signature
Dateigr��e : 488 bytes
Beschreibung: nicht verf�gbar
URL : <http://mailman.neomutt.org/pipermail/neomutt-users-neomutt.org/attachments/20171216/78365bb7/attachment.sig>
More information about the neomutt-users
mailing list