summaryrefslogtreecommitdiff
path: root/.config/emacs/modules/mm-dired.el
blob: 10db837df5c8f29cfddf951a8aa359fc48fc1cf5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
;;; 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-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)