Evie Litherland-Smith
5611ea77ff
Move python hook setting to python use-package block Use locate-user-emacs-file for resolving paths inside user-emacs-directory Update my/open-init-file (was my/open-config-file) for new config structure
41 lines
965 B
Org Mode
41 lines
965 B
Org Mode
#+title: TRAMP Config
|
|
#+author: Evie Litherland-Smith
|
|
#+email: evie@xenia.me.uk
|
|
#+filetags: :emacs:config:org:
|
|
#+property: header-args:emacs-lisp :tangle yes :mkdirp yes :results output silent
|
|
* Remote Editing
|
|
** TRAMP
|
|
#+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
|
|
|
|
*** Connection variables
|
|
#+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
|
|
|