* notmuch

  Evil bindings for [[https://notmuchmail.org/][notmuch]].

** notmuch-common-keymap

   Inherited by all notmuch buffer maps. Single-letter commands are relocated
   under the =g= prefix.

   | Command                                | Original | Evil      |
   |----------------------------------------+----------+-----------|
   | =notmuch-help=                         | =?=      | =g?=      |
   | =notmuch-bury-or-kill-this-buffer=     | =q=      | =q=       |
   | =notmuch-search=                       | =s=      | =s=       |
   | =notmuch-tree=                         | =z=      | =S=       |
   | =notmuch-mua-new-mail=                 | =m=      | =C=, =cc= |
   | =notmuch-refresh-this-buffer=          | =g=, === | =gr=      |
   | =notmuch-refresh-all-buffers=          | =M-==    | =gA=      |
   | =notmuch-poll-and-refresh-this-buffer= | =G=      | =gR=      |
   | =notmuch-jump-search=                  | =j=      | =J=       |

** notmuch-show-mode-map

   | Command                                                 | Original  | Evil        |
   |---------------------------------------------------------+-----------+-------------|
   | =notmuch-show-next-open-message=                        | =n=       | =gj=        |
   | =notmuch-show-previous-open-message=                    | =p=       | =gk=        |
   | =notmuch-show-next-message=                             | =N=       | =]]=, =C-j= |
   | =notmuch-show-previous-message=                         | =P=       | =[[=, =C-k= |
   | =notmuch-show-next-thread-show=                         | =M-n=     | =M-j=       |
   | =notmuch-show-previous-thread-show=                     | =M-p=     | =M-k=       |
   | =notmuch-show-archive-message-then-next-or-next-thread= | =a=       | =a=         |
   | =notmuch-show-archive-thread-then-next=                 | =A=       | =A=         |
   | =notmuch-show-archive-thread-then-exit=                 | =X=       | =X=         |
   | =notmuch-show-archive-message-then-next-or-exit=        | =x=       | =x=         |
   | =notmuch-show-reply-sender=                             | =r=       | =cr=        |
   | =notmuch-show-reply=                                    | =R=       | =cR=        |
   | =notmuch-show-forward-message=                          | =f=       | =cf=        |
   | =notmuch-show-filter-thread=                            | =l=       | =S=         |
   | =notmuch-show-save-attachments=                         | =w=       | =p=         |
   | =notmuch-show-toggle-visibility-headers=                | =h=       | =H=         |
   | =notmuch-tag-jump=                                      | =k=       | =K=         |
   | =notmuch-show-tag-all=                                  | =*=       | =*=         |
   | =notmuch-show-add-tag=                                  | =+=       | =+=         |
   | =notmuch-show-remove-tag=                               | =-=       | =-=         |
   | =notmuch-show-toggle-message=                           | =RET=     | =RET=       |
   | =notmuch-show-toggle-thread-indentation=                | =<=       | =<=         |
   | =notmuch-show-next-button=                              | =TAB=     | =TAB=       |
   | =notmuch-show-previous-button=                          | =backtab= | =backtab=   |
   | =notmuch-show-pipe-message=                             | =\vert=   | =\vert=     |
   | =notmuch-show-stash-map=                                | =c=       | =ys=        |
   | =notmuch-show-part-map=                                 | =.=       | =.=         |
   | =notmuch-tree-from-show-current-query=                  | =Z=       | =zv=        |
   | =goto-address-at-point=                                 | n/a       | =gd=        |
   | =evil-collection-notmuch-show-toggle-delete=            | n/a       | =d=         |
   | =evil-collection-notmuch-show-toggle-flagged=           | n/a       | ===         |

** notmuch-tree-mode-map

   | Command                                          | Original | Evil      |
   |--------------------------------------------------+----------+-----------|
   | =notmuch-tree-next-matching-message=             | =n=      | =gj=      |
   | =notmuch-tree-prev-matching-message=             | =p=      | =gk=      |
   | =notmuch-tree-next-message=                      | =N=      | =]]=      |
   | =notmuch-tree-prev-message=                      | =P=      | =[[=      |
   | =notmuch-tree-next-thread=                       | =M-n=    | =C-j=     |
   | =notmuch-tree-prev-thread=                       | =M-p=    | =C-k=     |
   | =notmuch-tree-archive-message-then-next=         | =a=      | =a=       |
   | =notmuch-tree-archive-thread-then-next=          | =A=      | =A=       |
   | =notmuch-tree-archive-thread-then-exit=          | =X=      | (default) |
   | =notmuch-tree-archive-message-then-next-or-exit= | =x=      | (default) |
   | =notmuch-show-reply-sender=                      | =r=      | =cr=      |
   | =notmuch-show-reply=                             | =R=      | =cR=      |
   | =notmuch-tree-filter=                            | =l=      | (default) |
   | =notmuch-tree-to-tree=                           | =z=      | =s=       |
   | =notmuch-search-from-tree-current-query=         | =S=      | =zv=      |
   | =notmuch-show-save-attachments=                  | =w=      | (default) |
   | =notmuch-tag-jump=                               | =k=      | =K=       |
   | =notmuch-tree-tag-thread=                        | =*=      | =*=       |
   | =notmuch-tree-add-tag=                           | =+=      | =+=       |
   | =notmuch-tree-remove-tag=                        | =-=      | =-=       |
   | =notmuch-tree-show-message=                      | =RET=    | =RET=     |
   | =notmuch-tree-resume-message=                    | =e=      | =e=       |
   | =notmuch-show-pipe-message=                      | =\vert=  | =\vert=   |
   | =evil-collection-notmuch-tree-toggle-delete=     | n/a      | =d=       |
   | =evil-collection-notmuch-tree-toggle-unread=     | n/a      | =!=       |
   | =evil-collection-notmuch-tree-toggle-flagged=    | n/a      | ===       |

** notmuch-search-mode-map

   | Command                                         | Original | Evil       |
   |-------------------------------------------------+----------+------------|
   | =notmuch-search-next-thread=                    | =n=      | =j= (evil) |
   | =notmuch-search-previous-thread=                | =p=      | =k= (evil) |
   | =notmuch-search-archive-thread=                 | =a=      | =a=        |
   | =notmuch-search-reply-to-thread-sender=         | =r=      | =cr=       |
   | =notmuch-search-reply-to-thread=                | =R=      | =cR=       |
   | =notmuch-search-filter=                         | =l=      | =S=        |
   | =notmuch-search-filter-by-tag=                  | =t=      | =t=        |
   | =notmuch-search-toggle-order=                   | =o=      | =o=        |
   | =notmuch-tag-jump=                              | =k=      | =K=        |
   | =notmuch-search-tag-all=                        | =*=      | =*=        |
   | =notmuch-search-add-tag=                        | =+=      | =+=        |
   | =notmuch-search-remove-tag=                     | =-=      | =-=        |
   | =notmuch-search-show-thread=                    | =RET=    | =RET=      |
   | =notmuch-tree-from-search-current-query=        | =Z=      | =zv=       |
   | =notmuch-bury-or-kill-this-buffer=              | =x=      | =q=        |
   | =notmuch-search-stash-map=                      | =c=      | =ys=       |
   | =compose-mail=                                  | n/a      | =cc=       |
   | =compose-mail-other-frame=                      | n/a      | =cC=       |
   | =evil-collection-notmuch-search-toggle-delete=  | n/a      | =d=        |
   | =evil-collection-notmuch-search-toggle-unread=  | n/a      | =!=        |
   | =evil-collection-notmuch-search-toggle-flagged= | n/a      | ===        |

** notmuch-hello-mode-map

   | Command                             | Original | Evil             |
   |-------------------------------------+----------+------------------|
   | =notmuch-version=                   | =v=      | =g?=             |
   | =widget-forward=                    | =TAB=    | =TAB=            |
   | =widget-backward=                   | =S-TAB=  | =S-TAB=, =C-TAB= |
   | =evil-collection-notmuch-hello-ret= | n/a      | =RET=            |

** New commands

   | Command                                         | Key   |                                                                |
   |-------------------------------------------------+-------+----------------------------------------------------------------|
   | =evil-collection-notmuch-show-toggle-delete=    | =d=   | toggle =evil-collection-notmuch-delete-tag= on current message |
   | =evil-collection-notmuch-tree-toggle-delete=    | =d=   | tree variant                                                   |
   | =evil-collection-notmuch-search-toggle-delete=  | =d=   | search variant                                                 |
   | =evil-collection-notmuch-show-toggle-flagged=   | ===   | toggle =flagged= tag                                           |
   | =evil-collection-notmuch-tree-toggle-flagged=   | ===   |                                                                |
   | =evil-collection-notmuch-search-toggle-flagged= | ===   |                                                                |
   | =evil-collection-notmuch-tree-toggle-unread=    | =!=   | toggle =unread= tag                                            |
   | =evil-collection-notmuch-search-toggle-unread=  | =!=   |                                                                |
   | =evil-collection-notmuch-hello-ret=             | =RET= | activate widget or button at point                             |

** Customization

   | Variable                             | Default     | Purpose                                                          |
   |--------------------------------------+-------------+------------------------------------------------------------------|
   | =evil-collection-notmuch-delete-tag= | ="deleted"= | Tag toggled by =d=. Set to ="trash"= for lieer/Gmail-style sync. |
