diff options
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 |