Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

davorg (18)

Yahoo! ID: daveorguk (Add User, Send Message)

Hacker, author, trainer

Technorati Profile []

Journal of davorg (18)

Friday August 13, 2004
10:16 AM


[ #20394 ]

Because my paste buffer didn't contain what I thought it contained, I just discovered that you can type:

$ vim

And you get a buffer (called which isn't entirely useful if you want to save it) containing the HTML source of that web page.

Vim enhanced 6.2.531. But I can't find it documented anywhere.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • It's a plug-in that's doing this. Read :h netrw for the documentation.

    I also discovered this by accident, but in a context that irritates me: if I'm composing an e-mail in Vim running in a Gnome Terminal and it's in insert mode then I can drag the icon from just to the left of the URL in Firefox, drop it into the terminal, and the URL gets inserted into the mail, which is great. But if I'm running Vim with its gui and I try this, rather than inserting the URL Vim starts trying to download and edit

    • emacs is consistent whether it's running in a terminal or talking directly to the GUI. This is most unexpected :-)

  • vim scp://www/public_html/index.shtml

    And as opposed to http:// scheme URLs, saving works as should be expected with scp:// ones. It just rocks.