From 0c6f3a8619db823e5918343f4f8cabcfcedb1cba Mon Sep 17 00:00:00 2001 From: JSDurand Date: Sun, 30 May 2021 17:34:28 +0800 Subject: completion-conf: Unbind space in completion maps * completion-conf.el (minibuffer-local-completion-map) (minibuffer-local-must-match-map): Since typing space is quite common, it is not very convenient to use space to complete words, as the binding otherwise would. --- completion-conf.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/completion-conf.el b/completion-conf.el index efc9bd5..fdf0e10 100644 --- a/completion-conf.el +++ b/completion-conf.el @@ -44,6 +44,8 @@ (define-key minibuffer-local-completion-map (vector 'down) #'durand-embark-scroll-down-or-go-to-completions) (define-key minibuffer-local-completion-map (vector 'up) #'durand-embark-scroll-up-or-go-to-completions) (define-key minibuffer-local-completion-map (vector ?\s-v) #'durand-completion-toggle-display) +(define-key minibuffer-local-completion-map (vector 32) nil) +(define-key minibuffer-local-must-match-map (vector 32) nil) (define-key completion-list-mode-map (vector 'down) #'durand-completion-scroll-down-or-go-to-minibuffer) (define-key completion-list-mode-map (vector 'up) #'durand-completion-scroll-up-or-go-to-minibuffer) -- cgit v1.2.3-18-g5258