Ricalsin
Ricalsin

Reputation: 940

Automating a copy/paste process

Can the process of going to a website, copying a page and then pasting it into an editor (which I do manually now) be done through scripts?

I use vim as my editor. I was told you can do it using vim. What are some keywords on this in order to find some help?

Upvotes: 2

Views: 159

Answers (2)

bbtrb
bbtrb

Reputation: 4085

If you don't want the source but insert a formatted page, you can use w3m

:r!w3m -dump <url>

Upvotes: 1

Cat Plus Plus
Cat Plus Plus

Reputation: 129894

With netrw, you can simply do :edit <url>. It will download the page using wget and put it in a buffer.

Upvotes: 1

Related Questions