Re:Intermediate Vim tips
by crehn on Thursday December 21, 2017 @08:18PM
(#15984524)
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.
[ Parent
| on HN ]
Re:Intermediate Vim tips
by oftenwrong on Thursday December 21, 2017 @11:05PM
(#15985193)
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!
Re:Intermediate Vim tips
by yjftsjthsd-h on Friday December 22, 2017 @07:30AM
(#15986967)
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.