Thank you !

I was working on a notebook (laptop), so there is no mouse weel.

And how could an entire file (buffer) be copied into a register
whitout any explicit command ?

So the explanation has to be something relatively simple, that i have
done involuntarily...

Thanks,
P.S: in the file there was folded text too, if this could have any
importance...
THX

On 22 Jun., 09:31, Jürgen Krämer <[email protected]> wrote:
> Hi,
>
>
>
> alex wrote:
> > I have given the command
>
> > :split
>
> > and, after a while, a saw that the entire text (of a latex file) was
> > copied into itself.
> > This means, that the original text
>
> > line 1
> > line 2
> > line 3
> > line 4
>
> > becames
>
> > line 1
> > line 2
> > line 1  *
> > line 2  *
> > line 3  *
> > line 4  *
> > line 3
> > line 4
>
> > * = lines copied into the same text file.
>
> > How was this possible ? What could i have been done wrong
> > involuntarily ?
>
> > I moved between windows with CTRL-W+arrowkeys and with the mouse and
> > jumped to marks with 'a. I have no explanation: i did not delete
> > anything, nor paste anything. Even if i could have hit the p taste,
> > this would not paste and entire window or buffer into itself...
>
> did you use the mouse wheel to scroll? If you did you might have
> accidentally pressed it; pressing the mouse wheel is the same as
> pressing the middle mouse button and pastes the content of the "*
> register. You can disable this behaviour with
>
>   :map <MiddleMouse> <nop>
>   :map <MiddleMouse> <nop>
>
> (See :help <MiddleMouse> for more info.)
>
> Regards,
> Jürgen
>
> --
> Sometimes I think the surest sign that intelligent life exists elsewhere
> in the universe is that none of it has tried to contact us.     (Calvin)
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to