about summary refs log tree commit diff
path: root/users/tazjin/emacs/config/desktop.el
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/emacs/config/desktop.el
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/emacs/config/desktop.el')
-rw-r--r--users/tazjin/emacs/config/desktop.el5
1 files changed, 5 insertions, 0 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