From 509697db2ed3cfdc06dbe62591f5848bdba2fbfd Mon Sep 17 00:00:00 2001 From: petrucci4prez Date: Fri, 20 Jul 2018 00:33:40 -0400 Subject: [PATCH] remap dired nav --- conf.org | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/conf.org b/conf.org index 0fbcc72..022bcb0 100644 --- a/conf.org +++ b/conf.org @@ -1672,6 +1672,14 @@ I like being evil. All package and custom bindings go here. :config (evil-collection-init)) #+END_SRC +**** dired +Dired makes new buffers by default. Use =find-alternate-file= to avoid this +#+BEGIN_SRC emacs-lisp +(evil-define-key 'normal dired-mode-map + "a" 'dired-find-file + (kbd "") 'dired-find-alternate-file + "^" (lambda () (interactive) (find-alternate-file ".."))) +#+END_SRC ** local *** org-mode #+BEGIN_SRC emacs-lisp