summaryrefslogtreecommitdiffstats
path: root/lisp/init-dired.el
blob: 0fbe80e0c8a4e563604c190c4efbb8361e903f89 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
;;; init-dired.el --- configure dired  -*- lexical-binding:t -*-
;;; Commentary:
;;; Code:

(use-package dired
  :init
  ;; show human readable sizes in dired
  (setq dired-listing-switches "-alh")

  :bind (:map dired-mode-map
              ("C-c r" . dired-toggle-read-only)
              ("M-<up>" . dired-up-directory)
              ("<backspace>" . dired-up-directory)))

(provide 'init-dired)

;;; init-dired.el ends here