Hi Marcin!

On Fr, 23 Nov 2012, Marcin Szamotulski wrote:

> Dear vim_dev,
> 
> I have found a strange behaviour of "- register, with the following
> setting:
> 
> set clipboard=unnamed,autoselect,exclude:cons\|linux
> 
> (unnamed added at the beginning)
> 
> Let say that I have a file with:
> 
> foo, bar
> 
> Let us try to interchange foo with bar.  Use 'de' to delete the 'foo', which
> is placed in the "- register, then I go to "bar" and type '^ve"-p', i.e.
> I try to paste from the visual mode the contents of the "- register and
> nothing happens.  Vim overwrites the "- register before the p command is
> executed.  If I do '^v<esc>' (go back and forth to the visual mode) the
> "- register is not overwritten.  This suggest that the command
> p overwrites "- register before pasting.  When there is no 'unnamed' in
> the cb setting this works fine.  When 'unnamed' is changed to
> 'unnamedplus' it also works fine.  I would rather think that "- should
> not be overwritten at all.

Interesting. I can't get it to work with the "- register at all.

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

Raspunde prin e-mail lui