add shortcut fir dired sorting

This commit is contained in:
petrucci4prez 2018-09-01 15:49:24 -04:00
parent 22a39e7602
commit cc336431e9
1 changed files with 1 additions and 0 deletions

View File

@ -1978,6 +1978,7 @@ Dired makes new buffers by default. Use =find-alternate-file= to avoid this.
(evil-define-key 'normal dired-mode-map
"a" 'dired-find-file
"gs" 'nd/dired-sort-by
(kbd "<return>") 'dired-find-alternate-file
"^" (lambda () (interactive) (find-alternate-file ".."))
(kbd "C-<return>") 'nd/dired-xdg-open