emacs : fd-dired config

This commit is contained in:
2024-09-04 10:41:46 +09:00
parent a646bebbb5
commit 518bc79126

View File

@ -21,6 +21,11 @@
;; Show directory first
(setq dired-listing-switches "-alh --group-directories-first")
(if (executable-find "fd")
(evil-collection-define-key 'normal 'dired-mode-map
"f" 'fd-dired)
(evil-collection-define-key 'normal 'dired-mode-map
"f" 'find-dired))
(evil-collection-define-key 'normal 'dired-mode-map
"." 'dired-omit-mode
"h" 'dired-single-up-directory