Move TRAMP config to own section
Add proxy config to connect to Legion as root
This commit is contained in:
parent
39cf44fc6e
commit
5fbb28fc82
40
README.org
40
README.org
|
@ -315,6 +315,28 @@ Rules and packages for buffer management and window navigation.
|
||||||
#+end_src
|
#+end_src
|
||||||
** Org Mode
|
** Org Mode
|
||||||
** Development Tools
|
** Development Tools
|
||||||
|
*** TRAMP
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(use-package tramp
|
||||||
|
:defer t
|
||||||
|
:custom
|
||||||
|
(tramp-default-method "sshx")
|
||||||
|
(tramp-backup-directory-alist backup-directory-alist)
|
||||||
|
(tramp-auto-save-directory (cdr (assoc "." tramp-backup-directory-alist)))
|
||||||
|
:config
|
||||||
|
(add-to-list 'tramp-remote-path 'tramp-own-remote-path)
|
||||||
|
(add-to-list 'tramp-remote-path "~/.local/bin/")
|
||||||
|
(add-to-list 'tramp-default-proxies-alist
|
||||||
|
'("legion" "\\`root\\'" "/ssh:%h:")))
|
||||||
|
|
||||||
|
(connection-local-set-profile-variables
|
||||||
|
'remote-no-corfu-auto
|
||||||
|
'((corfu-auto . nil)))
|
||||||
|
|
||||||
|
(connection-local-set-profiles
|
||||||
|
'(:application tramp)
|
||||||
|
'remote-no-corfu-auto)
|
||||||
|
#+end_src
|
||||||
** Calendar, Email and Messaging
|
** Calendar, Email and Messaging
|
||||||
*** Calendar and Appointments
|
*** Calendar and Appointments
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
|
@ -1550,24 +1572,6 @@ Configure email with iCalendar event support, to integrate with
|
||||||
(view-read-only t)
|
(view-read-only t)
|
||||||
(enable-remote-dir-locals t))
|
(enable-remote-dir-locals t))
|
||||||
|
|
||||||
(use-package tramp
|
|
||||||
:defer t
|
|
||||||
:custom
|
|
||||||
(tramp-default-method "sshx")
|
|
||||||
(tramp-backup-directory-alist backup-directory-alist)
|
|
||||||
(tramp-auto-save-directory (cdr (assoc "." tramp-backup-directory-alist)))
|
|
||||||
:config
|
|
||||||
(add-to-list 'tramp-remote-path 'tramp-own-remote-path)
|
|
||||||
(add-to-list 'tramp-remote-path "~/.local/bin/"))
|
|
||||||
|
|
||||||
(connection-local-set-profile-variables
|
|
||||||
'remote-no-corfu-auto
|
|
||||||
'((corfu-auto . nil)))
|
|
||||||
|
|
||||||
(connection-local-set-profiles
|
|
||||||
'(:application tramp)
|
|
||||||
'remote-no-corfu-auto)
|
|
||||||
|
|
||||||
(use-package doc-view
|
(use-package doc-view
|
||||||
:defer t
|
:defer t
|
||||||
:bind ( :map doc-view-mode-map
|
:bind ( :map doc-view-mode-map
|
||||||
|
|
Loading…
Reference in a new issue