TRAMP: add remote path from init

This commit is contained in:
Evie Litherland-Smith 2023-11-29 14:16:16 +00:00
parent 78a0a47924
commit b66253606a
2 changed files with 14 additions and 0 deletions

View file

@ -415,6 +415,11 @@
(add-hook 'electric-pair-mode-hook #'crafted-org-enhance-electric-pair-inhibit-predicate) (add-hook 'electric-pair-mode-hook #'crafted-org-enhance-electric-pair-inhibit-predicate)
(add-hook 'org-mode-hook #'crafted-org-enhance-electric-pair-inhibit-predicate) (add-hook 'org-mode-hook #'crafted-org-enhance-electric-pair-inhibit-predicate)
(use-package tramp
:defer t
:config
(add-to-list 'tramp-remote-path 'tramp-own-remote-path))
(use-package rainbow-delimiters (use-package rainbow-delimiters
:ensure t :ensure t
:hook (prog-mode)) :hook (prog-mode))

View file

@ -493,6 +493,15 @@ For reference information, see [[https://orgmode.com][Org-mode website]]
(add-hook 'org-mode-hook #'crafted-org-enhance-electric-pair-inhibit-predicate) (add-hook 'org-mode-hook #'crafted-org-enhance-electric-pair-inhibit-predicate)
#+END_SRC #+END_SRC
* Remote Editing
** TRAMP
#+begin_src emacs-lisp :tangle yes
(use-package tramp
:defer t
:config
(add-to-list 'tramp-remote-path 'tramp-own-remote-path))
#+end_src
* Development Environment * Development Environment
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package rainbow-delimiters (use-package rainbow-delimiters