about summary refs log tree commit diff stats
path: root/.emacs.d/lisp/init-minibuffer.el
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2024-09-26 16:02:16 +0100
committerDavid Morgan <djm_uk@protonmail.com>2024-09-26 16:02:16 +0100
commit5551196d9c2a55a9478f17d83a316439f07ef767 (patch)
tree283ae3551aa0ebad2617108b71cc29b8e4cedec8 /.emacs.d/lisp/init-minibuffer.el
parent4a0e3f8aa226ea7012f3d63d2bb59b1cedd3eaa7 (diff)
downloaddotfiles-5551196d9c2a55a9478f17d83a316439f07ef767.tar.gz
Add comment and remove blank lines
Diffstat (limited to '.emacs.d/lisp/init-minibuffer.el')
-rw-r--r--.emacs.d/lisp/init-minibuffer.el4
1 files changed, 1 insertions, 3 deletions
diff --git a/.emacs.d/lisp/init-minibuffer.el b/.emacs.d/lisp/init-minibuffer.el
index 37e543b..fdc6445 100644
--- a/.emacs.d/lisp/init-minibuffer.el
+++ b/.emacs.d/lisp/init-minibuffer.el
@@ -51,24 +51,22 @@
                     (if (not (eq 1 (abs (- beg-index vertico--index))))
                         (ding)))))
 
+  ;; https://github.com/minad/vertico/wiki#useful-commands-from-outside-minibuffer
   (defun down-from-outside ()
     "Move to next candidate in minibuffer, even when minibuffer isn't selected."
     (interactive)
     (with-selected-window (active-minibuffer-window)
       (execute-kbd-macro [down])))
-
   (defun up-from-outside ()
     "Move to previous candidate in minibuffer, even when minibuffer isn't selected."
     (interactive)
     (with-selected-window (active-minibuffer-window)
       (execute-kbd-macro [up])))
-
   (defun preview-from-outside ()
     "Preview the selected candidate, even when minibuffer isn't selected."
     (interactive)
     (with-selected-window (active-minibuffer-window)
       (execute-kbd-macro (kbd "M-."))))
-
   (defun to-and-fro-minibuffer ()
     "Go back and forth between minibuffer and other window."
     (interactive)