[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/vertico 1a9b1b2 48/48: Update readme
From: |
Stefan Monnier |
Subject: |
[elpa] externals/vertico 1a9b1b2 48/48: Update readme |
Date: |
Mon, 5 Apr 2021 10:54:48 -0400 (EDT) |
branch: externals/vertico
commit 1a9b1b21f796ea89c12edc4933aac428f52c449d
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
Update readme
---
README.org | 49 +++++++++++++++++++++++++++++++++++++------------
vertico.el | 8 ++++----
2 files changed, 41 insertions(+), 16 deletions(-)
diff --git a/README.org b/README.org
index 05f1c02..c11f5ff 100644
--- a/README.org
+++ b/README.org
@@ -5,24 +5,29 @@
* Introduction
This package provides a minimalistic vertical completion system, which is based
-on the default completion system. By reusing the default system, we achieve
full
-compatibility with built-in Emacs commands and completion tables. Vertico is
-pretty bare-bone and only provides a minimal set of commands. The code base is
-less than 500 lines of code. If you are looking for a more full-featured
-package, you may be interested in
[[https://github.com/raxod502/selectrum][Selectrum]]. Selectrum supports
Avy-style quick
-keys, a horizontal display and a buffer display.
+on the default completion system. By reusing the default system, Vertico
+achieves full compatibility with built-in Emacs commands and completion tables.
+Vertico is pretty bare-bone and only provides a minimal set of commands. The
+code base is less than 500 lines of code.
-Complementary packages, which are fully supported:
+[[https://github.com/minad/vertico/blob/main/screenshot.svg?raw=true]]
-- [[https://github.com/minad/marginalia][Marginalia]]: Rich annotations in the
minibuffer
-- [[https://github.com/minad/consult][Consult]]: Many useful search and
navigation commands
-- [[https://github.com/oantolin/embark][Embark]]: Minibuffer actions and
context menu
-- [[https://github.com/oantolin/orderless][Orderless]]: Advanced completion
style
+* Features
-[[https://github.com/minad/vertico/blob/main/screenshot.svg?raw=true]]
+- Vertical display, which can be navigated with the arrow keys
+- Shows the index of the current candidate and the total number of candidates
+- Current candidate can be inserted with =TAB= and selected with =RET=
+- Non-existing candidates can be entered by moving the point to the prompt line
+- Candidates are sorted by history, string length and alphabetically
+- Long candidates with newlines are formatted to take up less space
+- Support for =annotation-function=, =affixation-function= and
=x-group-function=
* Configuration
+After installation, Vertico can be enabled with =M-x vertico-mode=. In order to
+configure Vertico and other packages in your init.el, you may want to use
+=use-package=. Here is an example configuration:
+
#+begin_src emacs-lisp
;; Enable vertico
(use-package vertico
@@ -42,3 +47,23 @@ Complementary packages, which are fully supported:
(cons (concat "[CRM] " (car args)) (cdr args)))
(advice-add #'completing-read-multiple :filter-args #'crm-indicator)
#+end_src
+
+* Complementary packages
+
+Vertico works well together with a few complementary packages, which enrich the
+completion UI. These packages are fully supported:
+
+- [[https://github.com/minad/marginalia][Marginalia]]: Rich annotations in the
minibuffer
+- [[https://github.com/minad/consult][Consult]]: Many useful search and
navigation commands
+- [[https://github.com/oantolin/embark][Embark]]: Minibuffer actions and
context menu
+- [[https://github.com/oantolin/orderless][Orderless]]: Advanced completion
style
+
+* Alternatives
+
+- [[https://github.com/raxod502/selectrum][Selectrum]]: If you are looking for
a more full-featured package, you may be
+ interested in Selectrum, which provides a similar UI as Vertico. Additionally
+ Selectrum supports Avy-style quick keys, a horizontal display and a
+ configurable buffer display.
+- [[https://github.com/oantolin/icomplete-vertical][Icomplete-vertical]]: This
package enhances the Emacs builtin Icomplete with a
+ vertical display. In contrast to Vertico, the candidates are rotated such
that
+ the current candidate always appears at the top.
diff --git a/vertico.el b/vertico.el
index e380f48..a5a11e0 100644
--- a/vertico.el
+++ b/vertico.el
@@ -28,10 +28,10 @@
;;; Commentary:
;; This package provides a minimalistic vertical completion system, which is
-;; based on the default completion system. By reusing the default system, we
-;; achieve full compatibility with built-in Emacs commands and completion
-;; tables. Vertico is pretty bare-bone and only provides a minimal set of
-;; commands.
+;; based on the default completion system. By reusing the default system,
+;; Vertico achieve full compatibility with built-in Emacs commands and
+;; completion tables. Vertico is pretty bare-bone and only provides a minimal
+;; set of commands.
;;; Code:
- [elpa] externals/vertico 866475c 05/48: increase threshold, (continued)
- [elpa] externals/vertico 866475c 05/48: increase threshold, Stefan Monnier, 2021/04/05
- [elpa] externals/vertico c0606cf 39/48: Formatting, Stefan Monnier, 2021/04/05
- [elpa] externals/vertico 7fdfd52 45/48: Formatting, Stefan Monnier, 2021/04/05
- [elpa] externals/vertico 708f89d 46/48: Update copyright information, Stefan Monnier, 2021/04/05
- [elpa] externals/vertico cc3ba08 23/48: add screenshot, Stefan Monnier, 2021/04/05
- [elpa] externals/vertico 59538ff 32/48: Configurable truncation faces, Stefan Monnier, 2021/04/05
- [elpa] externals/vertico 406f8b8 44/48: vertico-insert: Insert only if a candidate is selected, Stefan Monnier, 2021/04/05
- [elpa] externals/vertico f4bde3a 36/48: Ensure that orderless highlighting succeeds, Stefan Monnier, 2021/04/05
- [elpa] externals/vertico b7e6de9 37/48: Filter files with completion-ignored-extensions, Stefan Monnier, 2021/04/05
- [elpa] externals/vertico 4acc17e 38/48: Show !/0 if match is required, Stefan Monnier, 2021/04/05
- [elpa] externals/vertico 1a9b1b2 48/48: Update readme,
Stefan Monnier <=