all repos — archive/dotfiles @ fee42496ab1efd7267578d40f844c55014f6c260

Superseded by nixfiles

Emacs: Setup dired-du-mode
Alan Pearce alan@alanpearce.eu
Fri, 02 Jun 2017 09:58:09 +0200
commit

fee42496ab1efd7267578d40f844c55014f6c260

parent

70d61b4a0f23dd6d6d7872f0d4159ffc92ffe267

1 files changed, 11 insertions(+), 0 deletions(-)

jump to
M emacs/.emacs.d/init.orgemacs/.emacs.d/init.org
@@ -1198,6 +1198,17 @@ (bind-key "^" #'dired-subtree-maybe-up dired-mode-map)             (bind-key "i" #'dired-subtree-toggle dired-mode-map))))
 #+END_SRC
 
+** Disk usage
+
+Combine dired and du (disk usage).
+
+#+BEGIN_SRC emacs-lisp
+(use-package dired-du
+  :after dired
+  :config (progn
+            (setq dired-du-size-format t)))
+#+END_SRC
+
 ** Dired-narrow
 One can already use dired with wildcards to browse a filtered
 directory listing, but it opens a new buffer.  Dired-narrow is a