]> granicus.if.org Git - neomutt/commitdiff
docs: update README.notmuch
authorKarel Zak <kzak@redhat.com>
Sun, 6 Oct 2013 18:34:57 +0000 (11:34 -0700)
committerRichard Russon <rich@flatcap.org>
Mon, 4 Apr 2016 15:30:07 +0000 (16:30 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
README.notmuch

index a653dba72616ec082bb91cf24ffe3d7b7ba7fcb3..93ce62eebdc95fb6fa0ed0a5ca5b6bd4ef76d8f8 100644 (file)
@@ -27,7 +27,7 @@ notmuch support for mutt
 
  * Folders URI
 
-   notmuch:///<path>[?<item>=<name>[& ...]]
+   notmuch://[<path>][?<item>=<name>[& ...]]
 
    The <path> 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 <change-vfolder> command (this command also accepts vfolder URI). The
+      folder-hook regex uses the URI.
+
    virtual_spoolfile = <boolean>
 
       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 <left> sidebar-prev
        bind index <right> sidebar-next
        bind index <space> sidebar-open
        bind index <Esc>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 "<modify-labels-then-hide>+archive -inbox\n<sync-mailbox>"
+
+       # remove message from inbox
        macro index I "<modify-labels-then-hide>-inbox\n<sync-mailbox>"
 
        # 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 <tags> [-t ...] <maildir>
 
        :0:notmuch.lock
        * ^List-Id:.*linux.linux.cz