]> granicus.if.org Git - neomutt/commitdiff
docs: add note about sidebar to notmuch docs
authorKarel Zak <kzak@redhat.com>
Wed, 14 Mar 2012 14:31:30 +0000 (15:31 +0100)
committerRichard Russon <rich@flatcap.org>
Mon, 4 Apr 2016 15:30:05 +0000 (16:30 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
README.notmuch

index c4d11aa0f1b9234d21b48fdd5dcb41219c88f56f..12f00788cb38a052bbc73ae0645ff12b51b53a5a 100644 (file)
@@ -108,6 +108,10 @@ notmuch support for mutt
       When set, mutt will use the first virtual mailbox (see virtual-mailboxes)
       as a spoolfile.
 
+      When set together with sidebar, mutt will use list of virtual folders in
+      the sidebar. It's possible to toggle between virtual and normal folders by
+      sidebar-toggle command.
+
    notmuch_default_uri = <uri>
 
       This variable specifies the default Notmuch database in format
@@ -163,6 +167,21 @@ notmuch support for mutt
        set nm_default_uri="notmuch:///home/kzak/Mail/Maildir"
        set virtual_spoolfile   = yes
 
+       # normal folders
+       set mbox_type=Maildir
+       set folder="~/Mail/Maildir"
+       mailboxes =rh =fedora =misc
+
+       # sidebar
+       set sidebar_width       = 35
+       set sidebar_visible     = yes
+       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
+
+        # virtual folders
        virtual-mailboxes \
           "INBOX"                "notmuch://?query=tag:inbox and NOT tag:archive" \
           "Util-linux"           "notmuch://?query=tag:ul and NOT tag:archive" \