summaryrefslogtreecommitdiff
path: root/.config/emacs/modules/mm-dired.el
blob: a86ad4f9150d927d056266410499baf7d028dfb7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
;;; mm-dired.el --- Configure the directory editor  -*- lexical-binding: t; -*-

(use-package dired
  :hook ((dired-mode . dired-omit-mode)
         (dired-mode . dired-hide-details-mode))
  :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)