Hacker News new | ask | show | jobs
by crehn 3102 days ago
Same. I spend most of my time in a terminal and SSH into various boxes daily. I do customize my standard Unix toolset, but avoid plugins and non-standard configs that increase cognitive burden. It's very liberating to feel comfortable with shitty defaults. If you feel at home with the defaults, you feel at home anywhere.
1 comments

You can remotely edit on any system accessible over ssh thanks to netrw:

    vim scp://some-remote-box/some/path
You can jump to a directory listing by including a trailing /

   :help netrw
> You can remotely edit on any system accessible over ssh thanks to netrw:

Yeah, and either lose all the goods of path completion or gain atrocious lag on each tab. Because of that, I rarely use netrw.

Emacs has Tramp, and you can do the same thing!
Is there a way to combine this with sudo, to edit root's files remotely? Apparently tramp is supposed to support this, but I prefer vim.