Hacker News new | ask | show | jobs
by k_bx 101 days ago
Yes I’ve added this to hundreds of containers and vms at this point

(setq make-backup-files nil)

1 comments

Just use tramp mode instead.

The fact it can do multi-hop edits is far too much power for us mere mortals.

(n)vim can also do this, if you've set up an ssh alias in your ssh config for your multi-hop destination you just list it where the hostname would go. e.g.

nvim scp://remotemachine/.config/emacs/init.el

For the same reason you can use sshfs, sftp, and rsync with multi-hop. Gotta love openssh!

It's a very different experience:

- I already have tmux launched, if ssh drops – I can continue

- I don't have to match windows to ssh sessions -- just have them in my tmux

Yes, tmux vastly inferior to tramp.

Tramp runs in your local Emacs and edits files remotely. It can also launch processes remotely and keep track of them.

How does it handle things like LSPs?