Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions modules/emacs/dired/config.el
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,10 @@ Fixes #3939: unsortable dired entries on Windows."
(set-popup-rule! "^ ?\\*\\(?:[Dd]irvish\\|SIDE :: \\).*" :ignore t)

;; Fixes #8038. This setting is for folks who expect to be able to switch back
;; to dired buffers where the file is opened from. In other cases, don't
;; recycle sessions. We don't want leftover buffers lying around, especially
;; if users are reconfiguring Dirvish or trying to recover from an error. It's
;; too easy to accidentally break Dirvish (e.g. by focusing the header window)
;; at the moment. Starting from scratch isn't even that expensive, anyway.
(setq dirvish-reuse-session 'open)
;; to dired buffers where the file is opened from. Doom's cleanup hook
;; (`+dired--cleanup-dirvish-h') handles killing sessions on project/workspace
;; switches, so `t' is safe here.
(setq dirvish-reuse-session t)

(if (modulep! +dirvish)
(setq dirvish-attributes '(file-size)
Expand Down