[emacs] Make dired ranger-like.

This commit is contained in:
Yushun Cheng 2022-04-05 18:33:31 +08:00
parent 730e268c38
commit 7f517cc569
1 changed files with 3 additions and 1 deletions

View File

@ -215,7 +215,9 @@ Return the list updated."
(kbd "d") 'scroll-up-command)
;; dired.
(evil-collection-define-key 'normal 'dired-mode-map
(kbd "SPC") nil)
(kbd "SPC") nil
(kbd "h") 'dired-up-directory
(kbd "l") 'dired-find-file)
;; help.
(evil-collection-define-key 'normal 'help-mode-map
(kbd "SPC") nil)