vim - Evil in dired/dired+ keymapping -
i'm looking way navigate in dired/dired+ , evil mode using 'h' 'j' 'k' 'l' in vim netrw. i've found lisp phrases , applied those don't work @ all.
for instance,
(eval-after-load 'dired '(progn ;; use standard dired bindings base (evil-make-overriding-map dired-mode-map 'normal t) (evil-define-key 'normal dired-mode-map "h" 'evil-backward-char "j" 'evil-next-line "k" 'evil-previous-line "l" 'evil-forward-char "r" 'dired-do-redisplay))) ; "l"
emacs runs 'dired-do-kill-lines' if doesn't recognize configuration. give me configuration, please?
what if press c-z
until put in normal mode (vim mode) ? , can use keys navigate. use smart-mode-line see mode in (i don't recall shows default mode-line).
you can choose enter dired mode in normal state: http://wikemacs.org/index.php/evil#enter_an_emacs_mode_in_a_given_state
Comments
Post a Comment