alternatively, one could add GNU ls’s --group-directories-first to
dired-listing-switches, but the drawback of that would be that folder
symlinks wouldn’t be grouped together with the rest of the directories
Reported to the coreutils list:
https://lists.gnu.org/archive/html/coreutils/2018-12/msg00017.html
(global-diff-hl-mode)
(add-hook 'magit-post-refresh-hook 'diff-hl-magit-post-refresh t))
+(use-package ls-lisp
+ :custom (ls-lisp-dirs-first t))
+
(use-package dired
:defer t
:config
- (setq dired-listing-switches "-alh")
+ (setq dired-listing-switches "-alh"
+ ls-lisp-use-insert-directory-program nil)
;; easily diff 2 marked files
;; https://oremacs.com/2017/03/18/dired-ediff/