Hello Yegappan, *,

Yegappan Lakshmanan schrieb am Dienstag, 16. Mai 2006 20:56:

>Hello,
>
>On 5/16/06, Friedrich Strohmaier <[EMAIL PROTECTED]> wrote:

[..]

>> Try the following (in normal mode):
>> 1. Take text from anywhere with the mouse
>> 2. clear the target area and enter insert mode typing "v", <n>"l",
>> "s" 3. paste with middle mouse button
>>
>> result: You get the text vom cleared area -- anoying!!
>> expected result: the anywhere fetched text should be pasted.
>>
>> I noticed that behavior since vim 6.x

Well then, I was wrong: aparently it wasn't a change of vim, it seems to
be a unknown "benefit" from my new distributor's package maintainer.

>>
>> This apears in console-vim (xterm) an gvim.
>> using a virtual tty with gpm works as expected.
>>
>> Can anyone help me to find the right option to be set, or to file a
>> bugreport. I subscribed here to get feedback/confirmation before
>> bothering the developers.
>>
>> Any hints?
>
>When you make a visual selection, Vim will copy the selected text to
>the clipboard. This is controlled by the 'clipboard' option in
> terminal Vim and by the 'guioptions' option in GUI Vim. To disable
> Vim from copying the visually selected text to clipboard, use the
> following commands:
>
>    set clipboard=
>    set guioptions-=a

So simple and so far away! I was searching, but had no luck to hit.

>
>You can place the first command in the .vimrc file and the second one
>in the .gvimrc file.
>
>For more information about this, read
>
>   :help 'clipboard'
>   :help guioptions_a

that's it - you make me happy ;o))

Regards from Germany

Friedrich



Reply via email to