From: Karel Zak Date: Sun, 6 Oct 2013 18:34:57 +0000 (-0700) Subject: docs: update README.notmuch X-Git-Tag: neomutt-20160404~13^2~17 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ece659d743dd24edf3e41e1eb6e5de4f23e0c85f;p=neomutt docs: update README.notmuch Signed-off-by: Karel Zak --- diff --git a/README.notmuch b/README.notmuch index a653dba72..93ce62eeb 100644 --- a/README.notmuch +++ b/README.notmuch @@ -27,7 +27,7 @@ notmuch support for mutt * Folders URI - notmuch:///[?=[& ...]] + notmuch://[][?=[& ...]] The is an absolute path to the directory where the notmuch database is found as returned by 'notmuch config get database.path' command. Note that @@ -76,7 +76,9 @@ notmuch support for mutt * commands: change-vfolder: - - switch to another virtual folder + - switch to another virtual folder, a new folder maybe be specified by + vfolder description (see virtual-mailboxes) or URI + - the default is next vfolder with unread messages - default key: X vfolder-from-query: @@ -138,6 +140,10 @@ notmuch support for mutt "Filesystems" "notmuch:///whereis/db?query=tag:fs" \ "Music" "notmuch:///another/db?query=tag:hard and tag:heavy" + The folder description is used for status line, folders browser, sidebar + and command (this command also accepts vfolder URI). The + folder-hook regex uses the URI. + virtual_spoolfile = When set, mutt will use the first virtual mailbox (see virtual-mailboxes) @@ -285,6 +291,7 @@ notmuch support for mutt set nm_default_uri="notmuch:///home/kzak/Mail/Maildir" set virtual_spoolfile = yes + set sort_browser = unsorted # normal folders set mbox_type=Maildir @@ -294,13 +301,15 @@ notmuch support for mutt # sidebar set sidebar_width = 35 set sidebar_visible = yes - set sort_sidebar = unsorted + set sort_sidebar = unsorted color sidebar_new yellow default bind index sidebar-prev bind index sidebar-next bind index sidebar-open bind index S sidebar-toggle + set index_format="%4C %Z %?GI?%GI& ? %[%d/%b] %-16.15F %?M?(%3M)& ? %s %> %?g?%g?" + # virtual folders virtual-mailboxes \ "INBOX" "notmuch://?query=tag:inbox and NOT tag:archive" \ @@ -327,7 +336,10 @@ notmuch support for mutt " Linux [archive]" "notmuch://?query=tag:lk and tag:archive" \ " Filesystems [archive]" "notmuch://?query=tag:fs and tag:archive" \ + # move message to archive macro index A "+archive -inbox\n" + + # remove message from inbox macro index I "-inbox\n" # mark emails for git-am @@ -350,7 +362,10 @@ notmuch support for mutt NOINBOX="" } - ### Lists + ### Deliver emails to maildirs by notmuch-deliver + ### from notmuch contrib/ + ### + ### notmuch-deliver -t [-t ...] :0:notmuch.lock * ^List-Id:.*linux.linux.cz