about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--init.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/init.el b/init.el index 03040db..478b735 100644 --- a/init.el +++ b/init.el
@@ -1269,7 +1269,8 @@
1269(setup (:straight clhs)) 1269(setup (:straight clhs))
1270 1270
1271(setup (:straight consult) 1271(setup (:straight consult)
1272 (:require consult +consult) 1272 (+with-ensure-after-init
1273 (:require consult +consult))
1273 ;; from Consult wiki 1274 ;; from Consult wiki
1274 (:option register-preview-delay 0 1275 (:option register-preview-delay 0
1275 register-preview-function #'consult-register-format 1276 register-preview-function #'consult-register-format
@@ -1332,7 +1333,7 @@
1332 (:bind-into org 1333 (:bind-into org
1333 "M-g o" #'consult-org-heading) 1334 "M-g o" #'consult-org-heading)
1334 (advice-add 'consult-yank-pop :after #'+yank@indent) 1335 (advice-add 'consult-yank-pop :after #'+yank@indent)
1335 (:when-loaded 1336 (+with-eval-after-loads (consult +consult)
1336 (:option consult-narrow-key "<" 1337 (:option consult-narrow-key "<"
1337 consult-project-root-function '+consult-project-root) 1338 consult-project-root-function '+consult-project-root)
1338 (consult-customize consult-theme 1339 (consult-customize consult-theme
@@ -1371,6 +1372,7 @@
1371 (setf (alist-get buf-cmd vertico-multiform-commands) nil))))) 1372 (setf (alist-get buf-cmd vertico-multiform-commands) nil)))))
1372 1373
1373(setup (:straight consult-dir) 1374(setup (:straight consult-dir)
1375 (:load-after consult)
1374 (:+key "C-x C-d" #'consult-dir) 1376 (:+key "C-x C-d" #'consult-dir)
1375 (:with-map vertico-map 1377 (:with-map vertico-map
1376 (:bind "C-x C-d" #'consult-dir 1378 (:bind "C-x C-d" #'consult-dir