Sunday, October 23, 2011

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

On Oct 23, 7:10 am, Bram Moolenaar <B...@Moolenaar.net> wrote:
> 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.
>

Hold on...are you saying Vim automatically uses 2html on a selection
when dragging that selection to a browser?!

If so, I did not know that!

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