Email or username:

Password:

Forgot your password?
1 post total
Conor Hughes

During lunch a friend mentioned that you can just supply a HTTP URL to vim on the command line and it would use curl to download that resource and allow you to edit the content. I jokingly asked whether if you enter :w it would then issue a HTTP POST back to the origin which is of course ridiculous.

It issues a PUT

Show previous comments
Tony Hoyle

@conorh
Alas full vim doesn't seem that common. No idea what arch uses (vi is linked to ed somehow) and Debian uses vim.tiny which doesn't have any of this.

DrYak

@conorh That's indeed the appropriate protocol for webdav servers (btw, other editors do the same, e.g.: KDE's Kate also supports out-of-box working with remote files. I use this a lot for work. One more reason why I prefer working on Linux)

Go Up