diff options
Diffstat (limited to 'init.el')
-rw-r--r-- | init.el | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/init.el b/init.el index ac96854..2c1fb85 100644 --- a/init.el +++ b/init.el | |||
@@ -1006,12 +1006,13 @@ if ripgrep is installed, otherwise `consult-grep'." | |||
1006 | 1006 | ||
1007 | (with-eval-after-load 'vertico | 1007 | (with-eval-after-load 'vertico |
1008 | (with-eval-after-load 'consult | 1008 | (with-eval-after-load 'consult |
1009 | (define-key consult-crm-map "\r" #'+vertico-crm-exit) | 1009 | (when (boundp 'consult-crm-map) |
1010 | (define-key consult-crm-map "\t" #'vertico-exit) | 1010 | (define-key consult-crm-map "\r" #'+vertico-crm-exit) |
1011 | (defun +vertico-crm-exit () | 1011 | (define-key consult-crm-map "\t" #'vertico-exit) |
1012 | (interactive) | 1012 | (defun +vertico-crm-exit () |
1013 | (run-at-time 0 nil #'vertico-exit) | 1013 | (interactive) |
1014 | (funcall #'vertico-exit))))) | 1014 | (run-at-time 0 nil #'vertico-exit) |
1015 | (funcall #'vertico-exit)))))) | ||
1015 | 1016 | ||
1016 | (setup (:straight crux) | 1017 | (setup (:straight crux) |
1017 | 1018 | ||