Emacs: set up consult-dir
Alan Pearce alan@alanpearce.eu
Sat, 24 Jun 2023 20:05:17 +0200
2 files changed, 9 insertions(+), 0 deletions(-)
M user/emacs/init.el → user/emacs/init.el
@@ -249,6 +249,13 @@ :config (progn (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 @@ "bx" #'kill-this-buffer "br" #'revert-buffer "bk" #'kill-buffer "dd" #'dired + "D" #'consult-dir "e" '(:keymap envrc-command-map :package envrc) "fs" #'save-buffer "ff" #'find-file
M user/settings/emacs.nix → user/settings/emacs.nix
@@ -105,6 +105,7 @@ company-posframe company-shell company-tabnine consult + consult-dir consult-ghq consult-eglot crux