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

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

[elpa] externals/vertico d9bb816 09/11: README: Mention a few more usefu


From: Protesilaos Stavrou
Subject: [elpa] externals/vertico d9bb816 09/11: README: Mention a few more useful configurations
Date: Thu, 8 Apr 2021 07:11:16 -0400 (EDT)

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

    README: Mention a few more useful configurations
---
 README.org | 22 ++++++++++++++++++----
 1 file changed, 18 insertions(+), 4 deletions(-)

diff --git a/README.org b/README.org
index 7a49d97..fbab1ad 100644
--- a/README.org
+++ b/README.org
@@ -44,10 +44,24 @@ init.el, you may want to use =use-package=. Here is an 
example configuration:
           completion-category-defaults nil
           completion-category-overrides '((file (styles . 
(partial-completion))))))
 
-  ;; Add prompt indicator to `completing-read-multiple'.
-  (defun crm-indicator (args)
-    (cons (concat "[CRM] " (car args)) (cdr args)))
-  (advice-add #'completing-read-multiple :filter-args #'crm-indicator)
+  ;; A few more useful configurations...
+  (use-package emacs
+    :init
+    ;; Add prompt indicator to `completing-read-multiple'.
+    (defun crm-indicator (args)
+      (cons (concat "[CRM] " (car args)) (cdr args)))
+    (advice-add #'completing-read-multiple :filter-args #'crm-indicator)
+
+    ;; Grow and shrink minibuffer
+    ;;(setq resize-mini-windows t)
+
+    ;; Do not allow the cursor in the minibuffer prompt
+    (setq minibuffer-prompt-properties
+          '(read-only t cursor-intangible t face minibuffer-prompt))
+    (add-hook 'minibuffer-setup-hook #'cursor-intangible-mode)
+
+    ;; Enable recursive minibuffers
+    (setq enable-recursive-minibuffers t))
 #+end_src
 
 * Complementary packages



reply via email to

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