From b0178cc65c58680d5fbf6108af63d89a95fe5fb7 Mon Sep 17 00:00:00 2001 From: Jonas Bernoulli Date: Fri, 20 Mar 2020 23:43:24 +0100 Subject: [PATCH] tramp: Disable vc Tramp's FAQ suggests this in order to speed things up. --- init.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/init.el b/init.el index 8fb5150..8ec83f6 100644 --- a/init.el +++ b/init.el @@ -159,7 +159,11 @@ (add-to-list 'tramp-default-proxies-alist '(nil "\\`root\\'" "/ssh:%h:")) (add-to-list 'tramp-default-proxies-alist '("localhost" nil nil)) (add-to-list 'tramp-default-proxies-alist - (list (regexp-quote (system-name)) nil nil))) + (list (regexp-quote (system-name)) nil nil)) + (setq vc-ignore-dir-regexp + (format "\\(%s\\)\\|\\(%s\\)" + vc-ignore-dir-regexp + tramp-file-name-regexp))) (progn ; startup (message "Loading %s...done (%.3fs)" user-init-file