From d33a9964ecf98b0b5e14d1a3a237d9b23425081d Mon Sep 17 00:00:00 2001 From: Thomas Ulmer Date: Fri, 14 Mar 2025 09:20:56 -0700 Subject: s-ret in minibuffer --- emacs/site-lisp/exwm-pref.el | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'emacs/site-lisp') 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-") 'vertico-exit) + (define-key minibuffer-mode-map (kbd "s-") '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) -- cgit v1.2.3