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).

Best regards,
Marcin Szamotulski

-- 
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

Raspunde prin e-mail lui