summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--user/emacs/init.el11
1 files changed, 11 insertions, 0 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index 6d4203e5..632af5cb 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -576,6 +576,17 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
 (use-package goto-chg
   :defer 1)
 
+
+;;;; TRAMP
+
+(use-package tramp
+  :defer t
+  :config (progn
+            (add-to-list 'tramp-default-proxies-alist
+                         '(nil "\\`root\\'" "/ssh:%h:"))
+            (add-to-list 'tramp-default-proxies-alist
+                         '((regexp-quote (system-name)) nil nil))))
+
 ;;; Directories
 
 (setq dired-dwim-target t