summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
authorAlan Pearce2017-06-02 09:58:09 +0200
committerAlan Pearce2017-06-02 09:58:09 +0200
commitfee42496ab1efd7267578d40f844c55014f6c260 (patch)
treef462a31f7d4b3757153339697bf9e20175eeea80 /emacs
parent70d61b4a0f23dd6d6d7872f0d4159ffc92ffe267 (diff)
downloadnixfiles-fee42496ab1efd7267578d40f844c55014f6c260.tar.lz
nixfiles-fee42496ab1efd7267578d40f844c55014f6c260.tar.zst
nixfiles-fee42496ab1efd7267578d40f844c55014f6c260.zip
Emacs: Setup dired-du-mode
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/init.org11
1 files changed, 11 insertions, 0 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org
index 9b814ecf..4917c4bd 100644
--- a/emacs/.emacs.d/init.org
+++ b/emacs/.emacs.d/init.org
@@ -1198,6 +1198,17 @@ Expand subfolders like a tree inside the parent
             (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