copying from vi to clipboard does not over writes clip board buffer
PleegWat
pleegwat at telfort.nl
Wed Feb 16 18:26:24 UTC 2011
On 02/16/2011 09:10 AM, Tapas Mishra wrote:
> Here is a situation
> Situation A
> ---------------------------------------
> I open a text file in vi
> and scroll to some line
> now press Esc
> and :"+yy
> the line gets yanked
> I open gedit and Ctrl+V
> and then I see the line is pasted.
>
> Situation B
> ------------------------------------------------
> But the same does not work for a different situation.
> Suppose I opened some link in Firefox and do a Ctrl+C and in gedit I do Ctrl+V
> then I can see the link getting pasted but if now I repeat the steps I
> described above in Situation A
> then each time on gedit I do not see the text from vi copied but the
> link repeated which I do not expect
> because it should have been over written by the yanked line and the
> previous link of firefox should not be copied.
>
> My purpose of reporting this message on list
> is to find out if this is the correct behavior or it is a bug.
>
Note, partly to others on this list: I suspect this is not 'real' vi,
but rather vim or gvim. The mentioned "+yy (and other variants) does
work for me there. See :help x11
PleegWat
More information about the ubuntu-users
mailing list