From 95603fa6be24607d44d5343684a433c0a629a370 Mon Sep 17 00:00:00 2001 From: noa Date: Tue, 29 Apr 2025 15:11:45 +0800 Subject: Make sure comments are in the right place --- emacs/init.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'emacs/init.el') diff --git a/emacs/init.el b/emacs/init.el index e468ab1..840b580 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -110,6 +110,7 @@ ;; Doesn't work great with a proportional font but could still be useful. (global-set-key (kbd "C-S-") #'mouse-drag-region-rectangle) + ;;; Minibuffer ;; It is often useful to be able to run a command while i am already in the process of running a command in the minibuffer. This is rarely two extended commands; usually it is completion. @@ -132,8 +133,6 @@ ;; If i type ~/ etc in a find-file prompt, get rid of the preceding directory names for a cleaner look. :hook (rfn-eshadow-update-overlay . vertico-directory-tidy)) -;; Annotations for completing-read - ;; Taken from configuration for the vertico stack: ;; Add prompt indicator to `completing-read-multiple'. ;; We display [CRM], e.g., [CRM,] if the separator is a comma. @@ -146,8 +145,10 @@ (cdr args))) (advice-add #'completing-read-multiple :filter-args #'crm-indicator) +;; Annotations for completing-read (use-package marginalia :defer t + :ensure t :hook (after-init . marginalia-mode) ;; :custom ;; (marginalia-mode t) -- cgit 1.4.1-2-gfad0