summaryrefslogtreecommitdiff
path: root/.config/emacs
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-11-29 09:20:25 +0100
committerThomas Voss <mail@thomasvoss.com> 2024-11-29 09:20:25 +0100
commit025b5fc21b25c8d8ec4c08619576fe56889e25bc (patch)
treeb5c1f1ac4633e74194eaec984e19733c7b87b4ce /.config/emacs
parent053fd48eddef6e8a29bec7d606917975f1c02c64 (diff)
emacs: Be recursive in dired and set ls(1) switches
Diffstat (limited to '.config/emacs')
-rw-r--r--.config/emacs/modules/mm-dired.el12
1 files changed, 9 insertions, 3 deletions
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