copying from vi to clipboard does not over writes clip board buffer
Colin Law
clanlaw at googlemail.com
Wed Feb 16 16:05:19 UTC 2011
On 16 February 2011 15:48, J <dreadpiratejeff at gmail.com> wrote:
> On Wed, Feb 16, 2011 at 10:21, Colin Law <clanlaw at googlemail.com> wrote:
>> On 16 February 2011 13:55, J <dreadpiratejeff at gmail.com> wrote:
>>> ....
>>> In the terminal, regardless of whether its running vi, emacs, or just
>>> sitting in the shell, highlight the text you want with the mouse
>>> (right click and hold and drag fro one end of the selection to the
>>> other, then release right button.
>>>
>>> In the target, where you want the text to appear, middle click, OR
>>> click both right and left buttons simultaneously at the position you
>>> want to paste the text.
>>>
>>> That works pretty much ever time, universally, without having to
>>> wonder if the text I copied is now in this buffer or that buffer or
>>> wherever, and as long as you don't click anywhere else (do any other
>>> click actions) you can middle click and paste that selected text as
>>> many times as you want.
>>
> The only trick though is that you lose the text if you left click
> anywhere else... which changes focus from the original window that you
> highlighted text in.
I don't find a problem if I click in another window on the way, it
still works for me. Ubuntu 10.10
Colin
>
> And yes, that should have been LEFT clicks, not RIGHT clicks,
> (unless, of course, your mouse is mapped for left handed usage, which,
> IIRC, reverses the button order). I can't always tell right from left
> :)
>
More information about the ubuntu-users
mailing list