Sunday, October 23, 2011

Re: Disabling ultra-annoying "drag text with html markup from browsers"

Andrei Avk wrote:

> Hi, I asked about this (Disabling "drag text with html markup from
> browsers") about a month ago and I finally got around to trying to find
> a fix and was able to do this by recompiling Gvim with following lines
> commented out:
>
>
> static const GtkTargetEntry selection_targets[] =
> /* {"text/html", 0, TARGET_HTML}, */
>
> static const GtkTargetEntry dnd_targets[] =
> /* {"text/html", 0, TARGET_HTML}, */
>
> Hopefully if anyone else needs this they'll be able to find this
> temporary fix.

Have you tried removing "html" from the 'clipboard' option?

> However, it seems like a completely pointless and annoying feature..
> possibly it would be better to disable html drops by default and have it
> available as an option?

This is a very useful feature if you are working on web pages.
I have used it to copy syntax-highlighted code, the output from 2html,
into a web page that is edited through a browser.

--
From "know your smileys":
:-& Eating spaghetti

/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.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: