summary refs log tree commit diff
path: root/config.org
diff options
context:
space:
mode:
authornoa@gaiwan.org2024-06-23 12:42:17 +0000
committernoa@gaiwan.org2024-06-23 12:42:17 +0000
commit09894ccd0226607a74b3caafed4c12f8b63f6381 (patch)
tree99e88deec0621af97bab1ab51b2a70883b0e7d9d /config.org
parentae7b2500bd52954257d521ac796feb08c99df2c2 (diff)
Don't preload vertico extensions
Diffstat (limited to 'config.org')
-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.