summaryrefslogtreecommitdiff
path: root/emacs
diff options
context:
space:
mode:
authorThomas Ulmer <thomasmulmer02@gmail.com>2025-03-14 09:20:56 -0700
committerThomas Ulmer <thomasmulmer02@gmail.com>2025-03-14 09:20:56 -0700
commitd33a9964ecf98b0b5e14d1a3a237d9b23425081d (patch)
treed96fe7fbd719c39c69f804271cee64272d6398fd /emacs
parent8300912bb63fc3918385f9e6d2a9777f62f164a2 (diff)
s-ret in minibuffer
Diffstat (limited to 'emacs')
-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)