mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
tweak(dired): don't auto-revert when remote
On slow connections `dired-auto-revert-buffer` causes excessive slowdowns; this limits its behavior to local files.
This commit is contained in:
committed by
Henrik Lissner
parent
659b0ebc1b
commit
96390ef3b9
@ -3,7 +3,7 @@
|
||||
(use-package! dired
|
||||
:commands dired-jump
|
||||
:init
|
||||
(setq dired-auto-revert-buffer t ; don't prompt to revert; just do it
|
||||
(setq dired-auto-revert-buffer (lambda (dir) (not (file-remote-p dir))) ; don't prompt to revert; just do it
|
||||
dired-dwim-target t ; suggest a target for moving/copying intelligently
|
||||
dired-hide-details-hide-symlink-targets nil
|
||||
;; Always copy/delete recursively
|
||||
|
Reference in New Issue
Block a user