From 025b5fc21b25c8d8ec4c08619576fe56889e25bc Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Fri, 29 Nov 2024 09:20:25 +0100 Subject: emacs: Be recursive in dired and set ls(1) switches --- .config/emacs/modules/mm-dired.el | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to '.config/emacs') diff --git a/.config/emacs/modules/mm-dired.el b/.config/emacs/modules/mm-dired.el index ada73a3..10db837 100644 --- a/.config/emacs/modules/mm-dired.el +++ b/.config/emacs/modules/mm-dired.el @@ -3,7 +3,13 @@ (use-package dired :hook ((dired-mode . dired-omit-mode) (dired-mode . dired-hide-details-mode)) - :bind (:map dired-mode-map - ("f" . find-file))) + :bind ( :map dired-mode-map + ("f" . find-file)) + :custom + (dired-recursive-copies 'always) + (dired-recursive-deletes 'always) + (dired-listing-switches + (combine-and-quote-strings + '("-AFGhlv" "--group-directories-first" "--time-style=+%d %b %Y %T")))) -(provide 'mm-dired) +(provide 'mm-dired) \ No newline at end of file -- cgit v1.2.3