diff options
| author | Jakob L. Kreuze | 2022-06-15 21:39:27 -0400 |
|---|---|---|
| committer | Jakob L. Kreuze | 2022-06-15 21:39:27 -0400 |
| commit | b42dbfcacb6c144593df2e28377523eeab9ba55c (patch) | |
| tree | 7972a43ffb9aa7409bb438ceb124dd6f3cf1f28d /lisp | |
| parent | 1be1f3bd7ae5f63d47a180d472f7ecc599ca5280 (diff) | |
[tramp] Speed improvements
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/core.el | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/lisp/core.el b/lisp/core.el index a70312c..1d6465a 100644 --- a/lisp/core.el +++ b/lisp/core.el @@ -60,7 +60,18 @@ :straight nil :init (setq tramp-backup-directory-alist backup-directory-alist) - (setq-default tramp-persistency-file-name "~/.cache/emacs/tramp")) + (setq-default tramp-persistency-file-name "~/.cache/emacs/tramp") + + ;; Apply recommendations from the following for speeding up Tramp. + ;; + ;; <https://emacs.stackexchange.com/a/37855> + :init + (setq remote-file-name-inhibit-cache nil) + (setq vc-ignore-dir-regexp + (format "%s\\|%s" + vc-ignore-dir-regexp + tramp-file-name-regexp)) + (setq tramp-verbose 1)) (use-package nsm :straight nil |