emacs/config/tramp.org
Evie Litherland-Smith f44c767eea Break up monolithic config into smaller files
Contents of README.org have been split into org files in config/
directory

Added init.el to simply loop over config files and call
org-babel-load-file

Add lots to .gitignore as this repo should now be cloned to
.emacs.d (instead of .emacs as before)
2024-02-15 08:18:41 +00:00

40 lines
883 B
Org Mode

#+title: TRAMP Config
#+author: Evie Litherland-Smith
#+email: evie@xenia.me.uk
#+filetags: :emacs:config:org:
* 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