On Sun, October 14, 2012 14:13, Marcin Szamotulski wrote:
> Hello VimDev,
>
> Answering a question on vim_use I found that when clipboard option
> has unnamed:
> set cb^=unnamed
> one cannot really paste in visual mode. I tested this in
> vim -u NONE --noplugin -c "set cb^=unnamed"
>
> The reason is quite simple. The "* register get a new value when
> entering the visual mode and the p command inserts what is currently
> highlighted.
>
> the solution is as simple as:
> vnoremap p ""p
>
> Should this be vim default? or maybe it should be noted in the
> documentation (in :help clipboard together with the explanation of the
> unnamed option).

Can you check, if this patch works for you?

regards,
Christian

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Attachment: paste.diff
Description: Binary data

Raspunde prin e-mail lui