about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-08-14T15·12+0100
committerWilliam Carroll <wpcarro@gmail.com>2020-08-20T10·26+0100
commitf032eee79d210d848b64848b0fbc2618442a6878 (patch)
tree4ac6d8b5de176ab335ad0db25519e33f0af7287b
parent375c4a4c857a5a5c56a9021ed721752288a3a357 (diff)
List directories first in dired view
Ideally I'd use exa insted of ls, but I cannot seem to support that yet.
-rw-r--r--emacs/.emacs.d/wpc/wpc-dired.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/emacs/.emacs.d/wpc/wpc-dired.el b/emacs/.emacs.d/wpc/wpc-dired.el
index 0a3013d30a88..9551e1168080 100644
--- a/emacs/.emacs.d/wpc/wpc-dired.el
+++ b/emacs/.emacs.d/wpc/wpc-dired.el
@@ -16,6 +16,7 @@
   (setq dired-recursive-copies 'always
         dired-recursive-deletes 'top
         dired-dwim-target t)
+  (setq dired-listing-switches "-la --group-directories-first")
   (general-define-key
    :keymaps 'dired-mode-map
    :states '(normal)