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

(use-package tramp
  :defer 5
  :ensure nil
  :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