On Wed, April 11, 2012 12:54, Marcin Szamotulski wrote:
> Hello,
>
> It seems for me that cw and ce commands works the same while dw and de and
> other operator like commands have a different behaviour. I did testing
> with
> "vim -u NONE" (I also use the default 'cpo').
>
> How to reproduce:
>
> put the cursor at the beginning of word1 and try both cw and ce normal
> commands:
>
> word1   word2
>
>
> In both cases the space between word1 and word2 is not deleted, while I
> expect
> that cw would make the change up to word3.

I think that is a strange historic Vi behaviour that is required by POSIX
nowadays. We could possibly add another flag to 'cpo' to work around it,
but my feeling is that too many people are accustomed to the way it works
currently that it isn't worth the trouble. (We already have the 'w' flag
for another strange behaviour when using the c motion on blanks)

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