about summary refs log tree commit diff stats
path: root/.emacs.d/lisp/init-tramp.el
blob: 326344d82883f9b726835c75955c8f520e3dbe40 (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-package tramp
  :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