Some tramp config

This commit is contained in:
John Doty 2021-08-17 09:15:31 -07:00
parent 6ce2884bec
commit 1f9e75ca62

View file

@ -383,7 +383,7 @@
(self-insert-command arg) (self-insert-command arg)
(set-marker m2 (point)) (set-marker m2 (point))
(forward-char 1) (forward-char 1)
(c-backward-token-1 1 t) (c-backward-token-2 1 t)
(set-marker m1 (point)) (set-marker m1 (point))
(goto-char m2) (goto-char m2)
(indent-region m1 m2 nil))) (indent-region m1 m2 nil)))
@ -975,17 +975,19 @@
;; ================================================================ ;; ================================================================
;; TRAMP ;; TRAMP
;; ================================================================ ;; ================================================================
(require 'tramp) (use-package tramp
;; Since we're going to be doing this a lot, the minibar message :config
;; tramp spits out for every file access is both spammy, distracting, ;; Since we're going to be doing this a lot, the minibar message tramp
;; and often hides more relevant messages. ;; spits out for every file access is both spammy, distracting, and often
(setq tramp-message-show-message nil) ;; hides more relevant messages.
;; Let tramp search $PATH as given to the $USER on the remote machine (setq tramp-message-show-message nil)
;; (necessary to find 'hphpd' for instance) ;; Let tramp search $PATH as given to the $USER on the remote machine
(add-to-list 'tramp-remote-path 'tramp-own-remote-path) ;; (necessary to find 'hphpd' for instance)
;; Use putty on windows (add-to-list 'tramp-remote-path 'tramp-own-remote-path)
(when (eq window-system 'w32) ;; Use putty on windows
(setq tramp-default-method "plink")) (when (eq window-system 'w32)
(setq tramp-default-method "plink")))
;; ================================================================ ;; ================================================================
;; Zig ;; Zig