summaryrefslogtreecommitdiff
path: root/.config/emacs/modules/mm-dired.el
diff options
context:
space:
mode:
Diffstat (limited to '.config/emacs/modules/mm-dired.el')
-rw-r--r--.config/emacs/modules/mm-dired.el15
1 files changed, 12 insertions, 3 deletions
diff --git a/.config/emacs/modules/mm-dired.el b/.config/emacs/modules/mm-dired.el
index ada73a3..a86ad4f 100644
--- a/.config/emacs/modules/mm-dired.el
+++ b/.config/emacs/modules/mm-dired.el
@@ -3,7 +3,16 @@
(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-auto-revert-buffer #'dired-directory-changed-p)
+ (dired-dwim-target t)
+ (dired-free-space nil)
+ (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