Bug#419171: vim: adds extra spaces to text pasted from the clipboard

Michael Gilbert michael.s.gilbert at gmail.com
Sat Apr 14 18:22:36 UTC 2007


On 4/14/07, Stefano Zacchiroli wrote:
> Please also note that bug reporting is not meant to ask support
> questions, for that you can find better help in the vim-user mailing
> list or on IRC.

its useful for posterity.  other users (that search the bug database)
will run into this and find the solution before asking the same thing.

btw, pastetoggle is a solution, but it is not optimal.  the average
user would like to see paste toggling done automatically without their
intervention.  this was the point of my original message.  is there
any way for vim to automatically know that the text is coming in from
the clipboard?  or (and this is probably too application-specific) can
the terminal program send vi into paste mode automatically when
pasting?

thanks again for the help.

mike




More information about the pkg-vim-maintainers mailing list