From a2f15991b642bb969e319cbd3ff8dcfd550f90c0 Mon Sep 17 00:00:00 2001 From: Vladislav Slobodenyuk Date: Sun, 1 Dec 2024 14:55:56 +0900 Subject: [PATCH] Add a small CORFU bind --- .config.d/10-completion.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.config.d/10-completion.el b/.config.d/10-completion.el index d01bda4..cc5266f 100644 --- a/.config.d/10-completion.el +++ b/.config.d/10-completion.el @@ -18,6 +18,10 @@ (shell-mode . corfu-mode) (eshell-mode . corfu-mode)) + :bind (:map corfu-map + ("s-SPC" . corfu-insert-separator) + ("M-d" . corfu-info-documentation) + ) :custom ;; Hide commands in M-x which do not apply to the current mode. (read-extended-command-predicate #'command-completion-default-include-p) @@ -37,7 +41,6 @@ (global-corfu-mode t) (corfu-popupinfo-mode t)) - ;; Cape provides Completion At Point Extensions which can be used in ;; combination with Corfu, Company or the default completion UI. The ;; completion backends used by completion-at-point are so called