chore(emacs): use notmuch from straight and use it remotely
This commit is contained in:
parent
221d2427be
commit
ca8e491ef3
1 changed files with 4 additions and 4 deletions
|
|
@ -362,13 +362,13 @@ just in in the current buffer."
|
||||||
:defer t)
|
:defer t)
|
||||||
|
|
||||||
(use-package notmuch
|
(use-package notmuch
|
||||||
;; Use the notmuch package that is installed
|
:straight t
|
||||||
:load-path "/usr/share/emacs/site-lisp"
|
|
||||||
:config
|
:config
|
||||||
|
(setq notmuch-command "~/.local/bin/notmuch-remote")
|
||||||
(setq notmuch-saved-searches '((:name "inbox"
|
(setq notmuch-saved-searches '((:name "inbox"
|
||||||
:key "i"
|
:key "i"
|
||||||
:query "query:inbox"
|
:query "query:inbox"
|
||||||
:sort-order oldest-first)))
|
:sort-order oldest-first))))
|
||||||
|
|
||||||
(defun aa/notmuch-open-github-link ()
|
(defun aa/notmuch-open-github-link ()
|
||||||
"Open the first GitHub Pull Request or Issue link in the current notmuch message or thread.
|
"Open the first GitHub Pull Request or Issue link in the current notmuch message or thread.
|
||||||
|
|
@ -405,7 +405,7 @@ Works in both `notmuch-show-mode` and `notmuch-search-mode`."
|
||||||
"b" 'aa/notmuch-open-github-link)
|
"b" 'aa/notmuch-open-github-link)
|
||||||
|
|
||||||
(evil-define-key 'visual notmuch-search-mode-map
|
(evil-define-key 'visual notmuch-search-mode-map
|
||||||
"d" 'aa/notmuch-search-delete)
|
"d" 'aa/notmuch-search-delete
|
||||||
"b" 'aa/notmuch-open-github-link)
|
"b" 'aa/notmuch-open-github-link)
|
||||||
|
|
||||||
(evil-define-key 'normal notmuch-show-mode-map
|
(evil-define-key 'normal notmuch-show-mode-map
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue