copying from vi to clipboard does not over writes clip board buffer
Tapas Mishra
mightydreams at gmail.com
Wed Feb 16 12:12:29 UTC 2011
On Wed, Feb 16, 2011 at 4:55 PM, Karl Auer <kauer at biplane.com.au> wrote:
>> >>>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.
>
> I cannot replicate this behaviour. I cannot yank a line in vi and paste
> it into gedit. Are you (Tapas) sure this is what is happening?
Yes I most of the time do it like that.
If you yank into the "+ register, it will go into the x11 selection,
which can be pasted using Control+V.
For this you can see vim help (:help clipboard)
> Only if I mark the text in vi with the mouse can I paste it into gedit -
> and then only with a middle mouse click, not with Ctl-V.
>
> This is the behaviour I expect and that is familiar to me; vi is not
> X-aware.
>
> Regards, K.
>
> --
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Karl Auer (kauer at biplane.com.au) +61-2-64957160 (h)
> http://www.biplane.com.au/kauer/ +61-428-957160 (mob)
>
> GPG fingerprint: DA41 51B1 1481 16E1 F7E2 B2E9 3007 14ED 5736 F687
> Old fingerprint: B386 7819 B227 2961 8301 C5A9 2EBC 754B CD97 0156
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
>
--
http://mightydreams.blogspot.com
More information about the ubuntu-users
mailing list