dev: erge branch 'pr7002' into emenel
This commit is contained in:
commit
f8d06642da
3 changed files with 12 additions and 2 deletions
|
@ -107,7 +107,7 @@ following additional binds:
|
|||
In the minibuffer, sometimes autocompletion can interfere with your goal;
|
||||
Imagine you're composing a search pattern incrementally, and you find what you
|
||||
want early, with only half the word. You then press [[kbd:RET]]. If completion
|
||||
kicked in as you typed, you may loose the match, since it will complete the
|
||||
kicked in as you typed, you may lose the match, since it will complete the
|
||||
first candidate. On the other hand, if you were paying attention to the
|
||||
suggestions and selecting one appropriate, that's desired behavior, and you may
|
||||
even desire to modify the prompt further (if you were composing a command
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
;;; Packages
|
||||
(use-package! corfu
|
||||
:defer t
|
||||
:hook (doom-first-buffer-hook . global-corfu-mode)
|
||||
:hook (doom-first-input . global-corfu-mode)
|
||||
:config
|
||||
(setq corfu-auto t
|
||||
corfu-auto-delay 0.1
|
||||
|
|
|
@ -460,6 +460,16 @@ Continues comments if executed from a commented line. Consults
|
|||
|
||||
(map! :when (modulep! :completion corfu)
|
||||
:after corfu
|
||||
(:map corfu-mode-map
|
||||
:prefix "C-x"
|
||||
"C-l" #'cape-line
|
||||
"C-k" #'cape-keyword
|
||||
"C-f" #'cape-file
|
||||
"s" #'cape-dict
|
||||
"C-s" #'yasnippet-capf
|
||||
"C-o" #'completion-at-point
|
||||
"C-n" #'cape-dabbrev
|
||||
"C-p" #'cape-history)
|
||||
(:map corfu-map
|
||||
[return] #'corfu-insert
|
||||
"RET" #'corfu-insert
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue