add dirvish config

This commit is contained in:
2025-07-13 22:35:56 +02:00
parent 0d1af13ccb
commit 90fe07db3a
2 changed files with 23 additions and 8 deletions

View File

@@ -107,7 +107,20 @@
:defer t
:config
;; tramp-cache.el
(setq tramp-persistency-file-name (concat user-cache-directory "tramp")))
(setq tramp-persistency-file-name (concat user-cache-directory "tramp"))
;; Enable full-featured Dirvish over TRAMP on ssh connections
;; https://www.gnu.org/software/tramp/#Improving-performance-of-asynchronous-remote-processes
(connection-local-set-profile-variables
'remote-direct-async-process
'((tramp-direct-async-process . t)))
(connection-local-set-profiles
'(:application tramp :protocol "ssh")
'remote-direct-async-process)
;; Tips to speed up connections
(setq tramp-verbose 0)
(setq tramp-chunksize 2000)
(setq tramp-ssh-controlmaster-options nil) )
(if (fboundp 'save-place-mode)
(save-place-mode)