emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/vertico e11b3e7 1/2: README: Move vertico-directory con


From: ELPA Syncer
Subject: [elpa] externals/vertico e11b3e7 1/2: README: Move vertico-directory configuration example
Date: Tue, 20 Jul 2021 19:57:22 -0400 (EDT)

branch: externals/vertico
commit e11b3e78397cf4db8a73dc74adfc7319e9f85e41
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>

    README: Move vertico-directory configuration example
---
 README.org | 25 +++++++++++++++----------
 1 file changed, 15 insertions(+), 10 deletions(-)

diff --git a/README.org b/README.org
index c70f915..29cd184 100644
--- a/README.org
+++ b/README.org
@@ -59,16 +59,6 @@
       ;; (setq vertico-cycle t)
       )
 
-    ;; Configure directory extension
-    (use-package vertico-directory
-      ;; More convenient directory navigation commands
-      :bind (:map vertico-map
-                  ("RET" . vertico-directory-enter)
-                  ("DEL" . vertico-directory-delete-char)
-                  ("M-DEL" . vertico-directory-delete-word))
-      ;; Tidy shadowed file names
-      :hook (rfn-eshadow-update-overlay . vertico-directory-tidy))
-
     ;; Use the `orderless' completion style.
     ;; Enable `partial-completion' for files to allow path expansion.
     ;; You may prefer to use `initials' instead of `partial-completion'.
@@ -193,6 +183,21 @@
   matches your preference or behaves similar to familiar UIs. The combination
   =vertico-flat= plus =vertico-directory= resembles Ido in look and feel.
 
+  Configuration example for =vertico-directory.el=:
+
+  #+begin_src emacs-lisp
+    ;; Configure directory extension.
+    ;; NOTE: The file `vertico-directory.el' must be installed manually.
+    (use-package vertico-directory
+      ;; More convenient directory navigation commands
+      :bind (:map vertico-map
+                  ("RET" . vertico-directory-enter)
+                  ("DEL" . vertico-directory-delete-char)
+                  ("M-DEL" . vertico-directory-delete-word))
+      ;; Tidy shadowed file names
+      :hook (rfn-eshadow-update-overlay . vertico-directory-tidy))
+  #+end_src
+
 * Complementary packages
   :properties:
   :custom_id: complementary-packages



reply via email to

[Prev in Thread] Current Thread [Next in Thread]