about summary refs log tree commit diff stats
path: root/.emacs.d/lisp/init-tramp.el
blob: 739236b127930407fdedae1f37c41464551aa7f2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
;;; init-tramp.el --- Tramp Configuration File -*- lexical-binding: t -*-
;;; Commentary:
;;; Code:

(use-feature tramp
  :defer 5
  :custom
  (tramp-default-method "ssh")
  (vc-ignore-dir-regexp
   (format "\\(%s\\)\\|\\(%s\\)"
           vc-ignore-dir-regexp
           tramp-file-name-regexp))
  (tramp-default-method "ssh")
  (tramp-auto-save-directory (expand-file-name "tramp-auto-save" user-emacs-directory))
  (tramp-persistency-file-name (expand-file-name "tramp-connection-history" user-emacs-directory))
  (password-cache-expiry nil))

(provide 'init-tramp)
;;; init-tramp.el ends here