Evie Litherland-Smith
f44c767eea
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)
40 lines
883 B
Org Mode
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
|
|
|