about summary refs log tree commit diff
path: root/users/tazjin/emacs/config
diff options
context:
space:
mode:
Diffstat (limited to 'users/tazjin/emacs/config')
-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)