Hello Vim developers,

This issue came up on Reddit
(http://www.reddit.com/r/vim/comments/yyq4a/is_there_anyway_to_configure_vim_to_use_the/).

With :set clipboard=unnamed, small deletes (such as "dw") affect the named
registers "1.."9. I can reproduce this with vanilla Vim 7.3.000 on Windows/x86,
and the latest Vim 7.3.646 on Ubuntu/x86.

It appears that the setting triggers the exception from the rule "This register
("-) contains text from commands that delete less than one line, except when the
command specifies a register with ["x].", although the register here comes from
the implementation, not the user.

Based on the Reddit posting, some people apparently prefer this behavior (though
I personally dislike that multiple "x" commands will rapidly fill the number
registers with single characters), so maybe there should be (yet another) option
for that. ('smalldeletethreshold', with 0 = off, 1 = all, and N = for deletes
equal or larger than N characters?!)

Anyway, this should be put into the todo list, so that people are discouraged
from (ab)using this accidental side effect.

-- regards, ingo
-- 
  -- Ingo Karkat -- /^-- /^-- /^-- /^-- /^-- /^-- http://ingo-karkat.de/ --
  --      http://vim.sourceforge.net/account/profile.php?user_id=9713    --

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