Sunday, September 4, 2011

Re: Problem with text drag-and-drop from browser to gvim

On Sun, Sep 4, 2011 at 8:40 AM, AK <andrei.avk@gmail.com> wrote:
Hi,

I often need to copy and paste snippets of text from webpages into gvim.
The easiest way to do this is to highlight and drag and drop text.
Unfortunately, gnome "helpfully" adds all kinds of tags
around the text (when using chrome; adds ^@ chars with Firefox). Other
programs like gedit, abiword, terminal only get the text dropped without
tags.

How can I get plain text in Gvim?

I know that I can set up a mapping to strip tags, but I hope there's a
way to do this automatically.

Personally I find it easier to cut and paste rather than drag and drop.  That doesn't require that both windows be visible at the same time, and I feel I have more control over where it goes.  Seems more like the "vim way", too.
 

--
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:

Post a Comment