fix(tazjin/emacs): Bind notmuch shortcuts via EXWM

Change-Id: I082ee9f75f9e0ef486bc240b4aeda3dec8e79019
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2284
Reviewed-by: tazjin <mail@tazj.in>
Tested-by: BuildkiteCI
This commit is contained in:
Vincent Ambo 2020-12-20 17:26:10 +01:00 committed by tazjin
parent 8ad3e84e40
commit 5d2d80795d
2 changed files with 5 additions and 3 deletions

View file

@ -256,6 +256,11 @@
(exwm-input-set-key (kbd "s-m b") #'randr-frog-layout-both)
(exwm-input-set-key (kbd "s-m r") #'randr-frog-layout-right-only)))
;; Notmuch shortcuts as EXWM globals
;; (g m => gmail)
(exwm-input-set-key (kbd "s-g m") #'notmuch)
(exwm-input-set-key (kbd "s-g M") #'counsel-notmuch)
(exwm-randr-enable)
;; Let buffers move seamlessly between workspaces by making them

View file

@ -80,9 +80,6 @@
(use-package multiple-cursors)
(use-package notmuch
:bind (:map global-map
("s-g m" . notmuch)
("s-g M" . counsel-notmuch)) ;; g m -> gmail
:config
(setq notmuch-search-oldest-first nil)
(setq notmuch-show-all-tags-list t)