copying from vi to clipboard does not over writes clip board buffer

MR ZenWiz mrzenwiz at gmail.com
Wed Feb 16 09:01:47 UTC 2011


On Wed, Feb 16, 2011 at 12:23 AM, Tapas Mishra <mightydreams at gmail.com> wrote:
> On Wed, Feb 16, 2011 at 1:49 PM, MR ZenWiz <mrzenwiz at gmail.com> wrote:
>>
>> I've never done it that way - to grab a line (or lines) from vi to
>> export to a different program,
> The question is why did buffer not gets over written.

As I said:

> yy is an internal ex (vi in line mode) command that puts the text of
> one line in vi's anonymous internal copy/paste buffer.  I was not
> aware that it carried over into the clipboard at all, and I wouldn't
> count on it doing so.
>
See also Mark Widdicombe's answer.




More information about the ubuntu-users mailing list