copying from vi to clipboard does not over writes clip board buffer
MR ZenWiz
mrzenwiz at gmail.com
Wed Feb 16 08:19:19 UTC 2011
On Wed, Feb 16, 2011 at 12:10 AM, Tapas Mishra <mightydreams at gmail.com> wrote:
> Here is a situation
:
>
> My purpose of reporting this message on list
> is to find out if this is the correct behavior or it is a bug.
>
I've never done it that way - to grab a line (or lines) from vi to
export to a different program, I use the terminal text copy option -
select the text to copy with the mouse cursor, then <ctl><shift>C puts
it in the clipboard.
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.
More information about the ubuntu-users
mailing list