Reading a File on the Internet with vi

Enter the fully qualified name of the file that you want to open in the current buffer, for example:

http://andrewault.blogspot.com/ Place the cursor over the name somewhere. In Normal Mode (not Insert Mode) type: gf

vi will use the appropriate unix utility (in this case, wget) to download the file and then read it into a new buffer.

No comments: