Add a small CORFU bind
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user