summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--config.org6
1 files changed, 4 insertions, 2 deletions
diff --git a/config.org b/config.org
index 386b6a8..272c80b 100644
--- a/config.org
+++ b/config.org
@@ -142,13 +142,15 @@ We also want to be able to jump to the bottom of the list by moving up from the
 Multiform mode will allow us to set different layouts for different completion categories.  For example, after pressing a prefix key,  i can press C-h to view a list of all possible following keys.  For this, i want vertico to display a grid of choices, rather than one completion per line.
 
 #+begin_src elisp
-(setopt vertico-multiform-mode t)
+  (with-eval-after-load 'vertico
+    (setopt vertico-multiform-mode t))
 #+end_src
 
 And of course, i want to be able to interact with vertico with the mouse.
 
 #+begin_src elisp
-(setopt vertico-mouse-mode t)
+  (with-eval-after-load 'vertico
+    (setopt vertico-mouse-mode t))
 #+end_src
 
 When completing a filename, i want to be able to easily delete directories in one fell swoop, instead of character by character or word by word.  Usually C-<backspace> would be fine, but if directories have a hyphen or space in their name, i have to press multiple times, which is almost never desirable.