summaryrefslogtreecommitdiff
path: root/emacs/site-lisp
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/site-lisp')
-rw-r--r--emacs/site-lisp/exwm-pref.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/emacs/site-lisp/exwm-pref.el b/emacs/site-lisp/exwm-pref.el
index 6407e9e..a5b8875 100644
--- a/emacs/site-lisp/exwm-pref.el
+++ b/emacs/site-lisp/exwm-pref.el
@@ -282,6 +282,13 @@
;; uncommenting the following line.
;; (setq exwm-workspace-minibuffer-position 'bottom)
+
+;; specifically disable S-return in the minibuffer so you don't hit it on accident
+;; This is here cause cause the other s-* bindings are here
+(if vertico-mode
+ (define-key vertico-map (kbd "s-<return>") 'vertico-exit)
+ (define-key minibuffer-mode-map (kbd "s-<return>") 'minibuffer-complete-and-exit))
+
;; Do not forget to enable EXWM. It will start by itself when things are
;; ready. You can put it _anywhere_ in your configuration.
(exwm-enable)