Lets say that you have either URL or a link on a webpage that is a text file. How would be the easiest way for the user to be able to open that file in a Vim?
- Right click and save link as?
- Use a specific file extension that defaults to Vim?
- Command line command?
Depending on how your vim binary was built you can just give vim the url:
vim http://www.google.com/Vim spawns curl and grabs the file, then opens it.