diff options
author | Alan Pearce | 2023-06-24 20:05:17 +0200 |
---|---|---|
committer | Alan Pearce | 2023-06-24 20:05:17 +0200 |
commit | 03ebfee7952096779408d621fa1cdd64fec1cb01 (patch) | |
tree | caea31c930e159fdd1fd854d0d3271ee7fbae544 /user/emacs | |
parent | e79cab2ddf289d62081fcbb50e080581c5e68080 (diff) | |
download | nixfiles-03ebfee7952096779408d621fa1cdd64fec1cb01.tar.lz nixfiles-03ebfee7952096779408d621fa1cdd64fec1cb01.tar.zst nixfiles-03ebfee7952096779408d621fa1cdd64fec1cb01.zip |
Emacs: set up consult-dir
Diffstat (limited to 'user/emacs')
-rw-r--r-- | user/emacs/init.el | 8 |
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 |