From 24f5fccd34bda5e1f9f3a42d16478cd978a19240 Mon Sep 17 00:00:00 2001 From: Kiana Sheibani Date: Wed, 9 Oct 2024 14:38:34 -0400 Subject: [PATCH] feat(dirvish): add evil-based bindings for dirvish --- config.org | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/config.org b/config.org index a0f73ec..07e1c45 100644 --- a/config.org +++ b/config.org @@ -4036,7 +4036,18 @@ The variable ~+workspaces-switch-project-function~ contains a function that is r (setq +workspaces-switch-project-function #'dirvish)) #+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 (after! dirvish