diff --git a/core/core-editor.el b/core/core-editor.el index f0106dea8..c468f7b98 100644 --- a/core/core-editor.el +++ b/core/core-editor.el @@ -91,7 +91,11 @@ possible." backup-directory-alist `((".*" . ,(concat doom-cache-dir "backup/")))) (after! tramp - (add-to-list 'backup-directory-alist (cons tramp-file-name-regexp nil))) + ;; Backing up files on remotes can be incredibly slow and prone to a variety + ;; of IO errors. Better to disable it altogether in tramp buffers: + (add-to-list 'backup-directory-alist (cons tramp-file-name-regexp nil)) + ;; Add the remote's PATH to tramp's search path (why isn't this the default?) + (add-to-list 'tramp-remote-path 'tramp-own-remote-path)) (add-hook! 'after-save-hook (defun doom-guess-mode-h ()