diff options
author | Grant Shangreaux <grant@unabridgedsoftware.com> | 2022-07-01 15:50:01 -0500 |
---|---|---|
committer | Grant Shangreaux <grant@unabridgedsoftware.com> | 2022-07-01 15:50:39 -0500 |
commit | 5160dc0f7cfb99b5bdb746622f38515b5af5fe27 (patch) | |
tree | 18f4aa530360cea56f87df42b8cebff71998baf3 /shoshin-config.org | |
parent | d171c747da570e85a9e4e6e2c8a4dec3e7b4a3ac (diff) |
Add: vertico-directory config
to help emulate the behavior i got used to in Ivy
Diffstat (limited to 'shoshin-config.org')
-rw-r--r-- | shoshin-config.org | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/shoshin-config.org b/shoshin-config.org index e8fb9b6..deab2a5 100644 --- a/shoshin-config.org +++ b/shoshin-config.org @@ -311,6 +311,22 @@ the new. it seems like consult does this as well as switching themes (vertico-mode) #+end_src +*** vertico-directory + +i'd like to emulate the behavior in ~find-file~ that i'm used to from Ivy. +basically, when i press DEL it should act normally until i hit a directory +boundary, then it should jump up a dir with the following press. + +this is implemented with the ~vertico-directory~ extension. + +#+begin_src emacs-lisp + (require 'vertico-directory) + (define-key (kbd "RET") #'vertico-directory-enter) + (define-key (kbd "DEL") #'vertico-directory-delete-char) + (define-key (kbd "M-DEL") #'vertico-directory-delete-word) + (define-key (kbd "M-j") #'vertico-quick-insert) +#+end_src + ** which-key #+begin_src emacs-lisp |