Created
March 22, 2017 23:28
-
-
Save joelmccracken/a2363c8a298d69137f1da53e51754db0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(eval-after-load 'dired | |
'(progn | |
;; use the standard Dired bindings as a base | |
(defvar dired-mode-map) | |
(evil-make-overriding-map dired-mode-map 'normal) | |
(evil-add-hjkl-bindings dired-mode-map 'normal | |
"J" 'dired-goto-file ; "j" | |
"K" 'dired-do-kill-lines ; "k" | |
"r" 'dired-do-redisplay ; "l" | |
;; ":d", ":v", ":s", ":e" | |
";" (lookup-key dired-mode-map ":")))) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment