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

883 B

TRAMP Config

Remote Editing

TRAMP

  (use-package tramp
    :defer t
    :diminish
    :config
    (add-to-list 'tramp-remote-path 'tramp-own-remote-path))

Connection variables

  (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)