branch: externals/vertico commit ad036780ddd87331a122ed1bc11721c7f5368c2e Author: Daniel Mendler <m...@daniel-mendler.de> Commit: Daniel Mendler <m...@daniel-mendler.de>
README: Configuration updates, mention vertico-cycle --- README.org | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/README.org b/README.org index 95ade0b..592ebc3 100644 --- a/README.org +++ b/README.org @@ -23,7 +23,7 @@ enhancements can be installed separately via complementary packages. - Shows the index of the current candidate and the total number of candidates - The current candidate is inserted with =TAB= and selected with =RET= - Non-existing candidates are entered by moving the point to the prompt line -- Candidates sorting by history, string length and alphabetically +- Candidates sorting by history position, string length and alphabetically - Long candidates with newlines are formatted to take up less space - Deferred completion style highlighting for performance - Support for ~annotation-function~, ~affixation-function~ and ~x-title-function~ @@ -43,7 +43,11 @@ Here is an example configuration: ;; Enable vertico (use-package vertico :init - (vertico-mode)) + (vertico-mode) + + ;; Optionally enable cycling for `vertico-next' and `vertico-previous'. + ;; (setq vertico-cycle t) + ) ;; Use the `orderless' completion style. ;; Enable `partial-completion' for files to allow path expansion. @@ -54,7 +58,7 @@ Here is an example configuration: completion-category-defaults nil completion-category-overrides '((file (styles . (partial-completion)))))) - ;; Persist history over Emacs restarts. Vertico sorts by history. + ;; Persist history over Emacs restarts. Vertico sorts by history position. (use-package savehist :init (savehist-mode))