summary refs log tree commit diff stats
path: root/user/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'user/emacs')
-rw-r--r--user/emacs/init.el8
1 files changed, 8 insertions, 0 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index fe710ba3..d7d3753d 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -249,6 +249,13 @@ With two prefix arguments, write out the day and month name."
             (setq consult-ripgrep-args
                   "rg --null --line-buffered --color=never --max-columns=1000 --path-separator /   --smart-case --no-heading --with-filename --line-number --search-zip --follow")))
 
+(use-package consult-dir
+  :defer 10
+  :general ("C-x C-d" #'consult-dir)
+  (:keymaps 'vertico-map
+            "C-x C-d" #'consult-dir
+            "C-x C-j" #'consult-jump))
+
 (use-package embark
   :general ("C-." #'embark-act
             "M-." #'embark-dwim
@@ -1181,6 +1188,7 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
   "br" #'revert-buffer
   "bk" #'kill-buffer
   "dd" #'dired
+  "D" #'consult-dir
   "e" '(:keymap envrc-command-map :package envrc)
   "fs" #'save-buffer
   "ff" #'find-file