diff options
author | Case Duckworth | 2021-10-05 14:23:10 -0500 |
---|---|---|
committer | Case Duckworth | 2021-10-05 14:23:10 -0500 |
commit | 34904710153b93be8bb152614db0c0e63069922a (patch) | |
tree | 2092cba5cc3a6416e5afb71b491b065c6687edf3 | |
parent | Change `:straight-if` to `:straight-when` (diff) | |
download | emacs-34904710153b93be8bb152614db0c0e63069922a.tar.gz emacs-34904710153b93be8bb152614db0c0e63069922a.zip |
Add consult-dir
-rw-r--r-- | init.el | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/init.el b/init.el index 32f48fb..31811d7 100644 --- a/init.el +++ b/init.el | |||
@@ -1213,6 +1213,15 @@ specific to most general, they are these: | |||
1213 | (funcall #'vertico-exit)) | 1213 | (funcall #'vertico-exit)) |
1214 | "TAB" #'vertico-exit)))) | 1214 | "TAB" #'vertico-exit)))) |
1215 | 1215 | ||
1216 | (setup (:straight consult-dir) | ||
1217 | (:with-feature project | ||
1218 | (:autoload project--read-project-list)) | ||
1219 | (:global "C-x C-d" #'consult-dir) | ||
1220 | (with-eval-after-load 'vertico | ||
1221 | (:with-map vertico-map | ||
1222 | (:bind "C-x C-d" #'consult-dir | ||
1223 | "C-x C-j" #'consult-dir-jump-file)))) | ||
1224 | |||
1216 | (setup (:straight crux) | 1225 | (setup (:straight crux) |
1217 | (:global "C-o" #'crux-smart-open-line | 1226 | (:global "C-o" #'crux-smart-open-line |
1218 | "M-o" #'crux-smart-open-line-above | 1227 | "M-o" #'crux-smart-open-line-above |