- Install
gls
(GNU ls) from GNU coreutils
brew install coreutils
- Set
insert-directory-program
togls
(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)
Do not display continuation lines globally:
(setq-default truncate-lines t)
Or disable it only in dirvish:
(add-hook 'dirvish-find-entry-hook
(lambda (&rest _) (setq-local truncate-lines t)))
Also see #33
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)))