enable find-alt

This commit is contained in:
petrucci4prez 2018-07-20 00:54:53 -04:00
parent 94baaf60e2
commit 149e8769dc
2 changed files with 3 additions and 0 deletions

View File

@ -1678,6 +1678,8 @@ I like being evil. All package and custom bindings go here.
**** dired
Dired makes new buffers by default. Use =find-alternate-file= to avoid this
#+BEGIN_SRC emacs-lisp
(put 'dired-find-alternate-file 'disabled nil)
(evil-define-key 'normal dired-mode-map
"a" 'dired-find-file
(kbd "<return>") 'dired-find-alternate-file

View File

@ -22,3 +22,4 @@
'(package-selected-packages
(quote
(yasnippet-snippets flycheck rainbow-delimiters-mode helm evil-collection haskell-mode fill-column-indicator gtklp delight browse-kill-ring evil-org-agenda evil-org evil calfw calfw-org yaml-mode which-key use-package typit systemd sudo-edit spaceline rainbow-mode rainbow-delimiters pkgbuild-mode pdf-tools org-bullets lua-mode ess elpy diff-hl beacon ace-window))))
(put 'dired-find-alternate-file 'disabled nil)