docs(corfu): both
option for RET behavior
This commit is contained in:
parent
dd18fa16be
commit
97690184af
1 changed files with 7 additions and 3 deletions
|
@ -193,9 +193,13 @@ A few variables may be set to change behavior of this module:
|
||||||
- [[var:corfu-preview-current]] ::
|
- [[var:corfu-preview-current]] ::
|
||||||
Configures current candidate preview.
|
Configures current candidate preview.
|
||||||
- [[var:+corfu-want-ret-to-confirm]] ::
|
- [[var:+corfu-want-ret-to-confirm]] ::
|
||||||
Enables commiting with [[RET]] when the popup is visible. Default is ~t~, may be set to
|
Controls the behavior of [[kbd:][RET]] when the popup is visible - whether it confirms
|
||||||
~'minibuffer~ if you want to commit both the completion and the minibuffer when
|
the selected candidate, and whether [[kbd:][RET]] is passed through (ie. the normal
|
||||||
active. When ~nil~, it is always passed-through.
|
behavior of [[kbd:][RET]] is performed). The default value of ~t~ enables confirmation
|
||||||
|
and disables pass-through. Other variations are ~nil~ for pass-through and no
|
||||||
|
confirmation and ~both~ for confirmation followed by pass-through. Finally,
|
||||||
|
the value of ~minibuffer~ will both confirm and pass-through (like ~both~)
|
||||||
|
when in the minibuffer, and only confirm (like ~t~) otherwise.
|
||||||
- [[var:+corfu-buffer-scanning-size-limit]] ::
|
- [[var:+corfu-buffer-scanning-size-limit]] ::
|
||||||
Sets the maximum buffer size to be scanned by ~cape-dabbrev~. Defaults to 1 MB.
|
Sets the maximum buffer size to be scanned by ~cape-dabbrev~. Defaults to 1 MB.
|
||||||
Set this if you are having performance problems using the CAPF.
|
Set this if you are having performance problems using the CAPF.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue