Thursday, March 4, 2010

Re: webpages and vim

On Mar 4, 2010, at 10:08 PM, Aman Jain wrote:
>
> Hi
>
> Sometimes I would like to save the text of a webpage, so that
> I don't have to copy it over from a browser to vim.
>
> I did :e http://www.somewebsite.com
> and vim shows html for the website.

You could try using Lynx[1] to fetch and format the page:

:r !lynx -dump http://www.somewebsite.com

Cheers,
Israel

[1] http://lynx.isc.org/

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: