feat(dirvish): add evil-based bindings for dirvish

This commit is contained in:
Kiana Sheibani 2024-10-09 14:38:34 -04:00
parent 5345309958
commit 24f5fccd34
Signed by: toki
GPG key ID: 6CB106C25E86A9F7

View file

@ -4036,7 +4036,18 @@ The variable ~+workspaces-switch-project-function~ contains a function that is r
(setq +workspaces-switch-project-function #'dirvish)) (setq +workspaces-switch-project-function #'dirvish))
#+end_src #+end_src
*** Appearance *** Bindings
The Doom module's bindings for Evil users are currently a bit unpolished, so let's fix them up here.
#+begin_src emacs-lisp
(map! :mode dirvish-mode
:after dirvish
:m "C-o" #'dirvish-history-go-backward
:m "C-i" #'dirvish-history-go-forward)
#+end_src
*** Layout
#+begin_src emacs-lisp #+begin_src emacs-lisp
(after! dirvish (after! dirvish