Add a small CORFU bind

This commit is contained in:
2024-12-01 14:55:56 +09:00
parent 935ce54376
commit a2f15991b6

View File

@@ -18,6 +18,10 @@
(shell-mode . corfu-mode) (shell-mode . corfu-mode)
(eshell-mode . corfu-mode)) (eshell-mode . corfu-mode))
:bind (:map corfu-map
("s-SPC" . corfu-insert-separator)
("M-d" . corfu-info-documentation)
)
:custom :custom
;; Hide commands in M-x which do not apply to the current mode. ;; Hide commands in M-x which do not apply to the current mode.
(read-extended-command-predicate #'command-completion-default-include-p) (read-extended-command-predicate #'command-completion-default-include-p)
@@ -37,7 +41,6 @@
(global-corfu-mode t) (global-corfu-mode t)
(corfu-popupinfo-mode t)) (corfu-popupinfo-mode t))
;; Cape provides Completion At Point Extensions which can be used in ;; Cape provides Completion At Point Extensions which can be used in
;; combination with Corfu, Company or the default completion UI. The ;; combination with Corfu, Company or the default completion UI. The
;; completion backends used by completion-at-point are so called ;; completion backends used by completion-at-point are so called