 (pjones:evil-override-notmuch notmuch-hello-mode)
 
 (pjones:evil-override-notmuch notmuch-search-mode
-  "\C-b" #'notmuch-search-scroll-up
-  "\C-f" #'notmuch-search-scroll-down
+  "\C-f" #'notmuch-search-scroll-up
+  "\C-b" #'notmuch-search-scroll-down
   "G" #'notmuch-search-last-thread
   "gg" #'notmuch-search-first-thread
   "gj" #'notmuch-search-next-thread

      :key "f")
     (:name "Drafts"
      :query "tag:draft"
      :key "d"))))

(add-to-list 'notmuch-tagging-keys
  `(,(kbd "b") ("+blacklisted" "+spam") "Blacklisted"))

(add-to-list 'notmuch-tagging-keys
  `(,(kbd "u") ("+unread") "Mark unread"))

(defmacro pjones:evil-override-notmuch (mode &rest bindings)
  "Override MODE bindings in evil-normal mode with BINDINGS."
  (declare (indent defun))
  `(pjones:evil-override-mode ,mode
     ,@bindings
     "c" #'notmuch-mua-new-mail
     "gR" #'notmuch-poll-and-refresh-this-buffer
     "gr" #'notmuch-refresh-this-buffer
     "H" #'notmuch-help
     "q" #'notmuch-bury-or-kill-this-buffer
     "s" #'notmuch-search
     "'" #'notmuch-jump-search))

;;; Commentary:
;;
;;; Code:
(require 'dash)
(require 'evil)
(require 'evil-leader)
(require 'message)
(require 'notmuch)
(require 's)

(eval-when-compile
  (require 'notmuch-tree)
