- Install
gls(GNU ls) from GNU coreutils
brew install coreutils- Set
insert-directory-programtogls
(setq insert-directory-program "gls")(setq dirvish-default-layout '(0 0.4 0.6));; consult its docstring for more info
(setq dirvish-default-layout nil)Set dirvish-reuse-session to nil.
See Parsing switches and sample config.
Disable all-the-icons-dired and treemacs-icons-dired.
It happend for some evil-mode users, you can try this:
;; setting it after dirvish to ensure `dirvish-mode-map' is loaded
(evil-make-overriding-map dirvish-mode-map 'normal)It could happen if you enabled global-nlinum-mode, disable them in the directory
preview buffers should do the trick: #306
(add-hook 'dirvish-directory-view-mode-hook (lambda () (nlinum-mode 0)))