remap dired nav
This commit is contained in:
parent
10223ffa8c
commit
509697db2e
8
conf.org
8
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 "<return>") 'dired-find-alternate-file
|
||||
"^" (lambda () (interactive) (find-alternate-file "..")))
|
||||
#+END_SRC
|
||||
** local
|
||||
*** org-mode
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
|
|
Loading…
Reference in New Issue