2024-02-15 08:18:41 +00:00
|
|
|
#+title: TRAMP Config
|
|
|
|
#+author: Evie Litherland-Smith
|
|
|
|
#+email: evie@xenia.me.uk
|
|
|
|
#+filetags: :emacs:config:org:
|
2024-02-15 08:45:37 +00:00
|
|
|
#+property: header-args:emacs-lisp :tangle yes :mkdirp yes :results output silent
|
2024-02-15 12:01:36 +00:00
|
|
|
|
2024-02-15 08:18:41 +00:00
|
|
|
#+begin_src emacs-lisp :tangle yes
|
|
|
|
(use-package tramp
|
|
|
|
:defer t
|
|
|
|
:diminish
|
|
|
|
:config
|
|
|
|
(add-to-list 'tramp-remote-path 'tramp-own-remote-path))
|
|
|
|
#+end_src
|
|
|
|
|
2024-02-15 12:01:36 +00:00
|
|
|
* Connection variables
|
2024-02-15 08:18:41 +00:00
|
|
|
#+begin_src emacs-lisp
|
|
|
|
(connection-local-set-profile-variables
|
|
|
|
'remote-disable-apheleia
|
|
|
|
'((apheleia-mode . nil)
|
|
|
|
(apheleia-inhibit . t)))
|
|
|
|
|
|
|
|
(connection-local-set-profile-variables
|
|
|
|
'remote-no-corfu-auto
|
|
|
|
'((corfu-auto . nil)))
|
|
|
|
|
|
|
|
(connection-local-set-profiles
|
|
|
|
'(:application tramp)
|
|
|
|
'remote-no-corfu-auto)
|
|
|
|
|
|
|
|
(connection-local-set-profiles
|
|
|
|
'(:application tramp :machine "heimdall")
|
|
|
|
'remote-disable-apheleia)
|
|
|
|
|
|
|
|
(connection-local-set-profiles
|
|
|
|
'(:application tramp :machine "freia")
|
|
|
|
'remote-disable-apheleia)
|
|
|
|
|
|
|
|
#+end_src
|