about summary refs log tree commit diff
path: root/users/tazjin
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2020-12-20T16·26+0100
committertazjin <mail@tazj.in>2020-12-20T16·30+0000
commit5d2d80795dcd5709db55eba6e54433c71d45981e (patch)
tree2f3d422fc4b26f701a9f457e4a74fdadd2b3b18c /users/tazjin
parent8ad3e84e407c3476910cde2104505942f57f9fad (diff)
fix(tazjin/emacs): Bind notmuch shortcuts via EXWM r/2021
Change-Id: I082ee9f75f9e0ef486bc240b4aeda3dec8e79019
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2284
Reviewed-by: tazjin <mail@tazj.in>
Tested-by: BuildkiteCI
Diffstat (limited to 'users/tazjin')
-rw-r--r--users/tazjin/emacs/config/desktop.el5
-rw-r--r--users/tazjin/emacs/config/init.el3
2 files changed, 5 insertions, 3 deletions
diff --git a/users/tazjin/emacs/config/desktop.el b/users/tazjin/emacs/config/desktop.el
index 393e703e477f..7b3a5d4c4be6 100644
--- a/users/tazjin/emacs/config/desktop.el
+++ b/users/tazjin/emacs/config/desktop.el
@@ -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
diff --git a/users/tazjin/emacs/config/init.el b/users/tazjin/emacs/config/init.el
index af881f8f01a8..7192c8fd23a9 100644
--- a/users/tazjin/emacs/config/init.el
+++ b/users/tazjin/emacs/config/init.el
@@ -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)