Make tramp work correctly with a NixOS VM
The VM is running on a Windows host and I connect from a WSL1 environment to it. For some reason this required these changes even though I can connect perfectly fine from my NixOS notebook to other NixOS based systems.
This commit is contained in:
parent
b775f32429
commit
831e65ddb1
|
@ -45,8 +45,9 @@
|
|||
;; enable mouse support in the terminal
|
||||
(xterm-mouse-mode 1)
|
||||
|
||||
;; For better performance use "ssh" instead of "scp"
|
||||
(setq tramp-default-method "ssh")
|
||||
(use-package tramp
|
||||
:config
|
||||
(add-to-list 'tramp-remote-path 'tramp-own-remote-path))
|
||||
|
||||
;; Prompt when quitting Emacs
|
||||
(setq confirm-kill-emacs 'yes-or-no-p)
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
:bind
|
||||
([f2] . projectile-run-vterm)
|
||||
:config
|
||||
(add-to-list 'vterm-tramp-shells '("sshx" "/usr/bin/env bash") '("ssh" "/usr/bin/env bash"))
|
||||
(setq vterm-kill-buffer-on-exit t
|
||||
vterm-disable-bold t)
|
||||
(evil-set-initial-state 'vterm-mode 'emacs))
|
||||
|
|
Loading…
Reference in New Issue