summaryrefslogtreecommitdiff
path: root/README.org
diff options
context:
space:
mode:
authorDaniel Mendler <mail@daniel-mendler.de>2022-03-01 17:12:46 +0100
committerDaniel Mendler <mail@daniel-mendler.de>2022-03-01 17:14:13 +0100
commitb71465fa6b6588babc98a1ae7034c9a41e5eaca7 (patch)
tree1ccbfd14205f72c835461e18897bebab72c76d3f /README.org
parenta0fe3d0a237f748a83102d7aa2cb51cb5ab2242b (diff)
Reintroduce corfu-quit-at-boundary (Fix #138)
Diffstat (limited to 'README.org')
-rw-r--r--README.org12
1 files changed, 7 insertions, 5 deletions
diff --git a/README.org b/README.org
index 7523814..b00e57b 100644
--- a/README.org
+++ b/README.org
@@ -84,6 +84,7 @@
;; (corfu-cycle t) ;; Enable cycling for `corfu-next/previous'
;; (corfu-auto t) ;; Enable auto completion
;; (corfu-separator ?\s) ;; Orderless field separator
+ ;; (corfu-quit-at-boundary nil) ;; Never quit at completion boundary
;; (corfu-quit-no-match nil) ;; Never quit, even if there is no match
;; (corfu-preview-current nil) ;; Disable current candidate preview
;; (corfu-preselect-first nil) ;; Disable candidate preselection
@@ -270,11 +271,12 @@ Then, when a new orderless component is desired, use =M-SPC=
and arbitrary orderless search terms and new separators can be entered
thereafter.
-Note that ~corfu-separator~ replaced the older less general option
-~corfu-quit-at-boundary~. If you want similar behavior as with
-~corfu-quit-at-boundary=nil~, you can bind ~corfu-insert-separator~ to =SPC= in
-~corfu-map~. In contrast, if you /always/ want to quit at the boundary, simply set
-~corfu-separator~ to ~nil~.
+To treat the entire input as Orderless input, you can set the customization
+option ~corfu-quit-at-boundary=t~. This disables the predicate which checks if the
+current completion boundary has been left. In contrast, if you /always/ want to
+quit at the boundary, simply set ~corfu-quit-at-boundary=nil~. By default
+~corfu-quit-at-boundary~ is set to ~separator~ which quits at completion boundaries
+as long as no separator has been inserted with ~corfu-insert-separator~.
Finally, there exists the user option ~corfu-quit-no-match~ which is set to
=separator= by default. With this setting Corfu stays alive as soon as you start