Re: Cygwin 1.5.25, vim 7.2-3: Command 'cw' misbehaves on a block of contiguous white-spaces

2009-12-11 Thread Corinna Vinschen
On Dec 10 19:17, Avijit Ghosh wrote:
 VIM seems to be behaving improperly executing the 'cw' command when the
 cursor is positioned on a block of contiguous white-space characters.
 
 It is changing *only* the character it is positioned on (instead of changing
 up to the last white-space in the block).
 
 Consider the following example text (please read using fixed-width font):
 
 alpha   beta
  ^
  Cursor here
 
 If I type 'cwESC', I get:
 
 alpha  beta
 
 I expect, based on using Win32 native VIM 7.2, Cygwin VIM 6.x, and other
 VIM/vi on Unix platforms -- and also on behavior or 'dw' or just 'w' on
 *this* version of VIM:
 
 alphabeta
 
 That is, I expect 'cw' to be equivalent in general to 'dwi', and 'cwESC'
 to be equivalent to 'dw' --- this is not the case any more, it seems.

Works exactly as you expect it for me.  I guess you have to blame one of
your vim startup files like ~/.vimrc.


Corinna


-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Cygwin 1.5.25, vim 7.2-3: Command 'cw' misbehaves on a block of contiguous white-spaces

2009-12-10 Thread Avijit Ghosh
VIM seems to be behaving improperly executing the 'cw' command when the
cursor is positioned on a block of contiguous white-space characters.

It is changing *only* the character it is positioned on (instead of changing
up to the last white-space in the block).

Consider the following example text (please read using fixed-width font):

alpha   beta
 ^
 Cursor here

If I type 'cwESC', I get:

alpha  beta

I expect, based on using Win32 native VIM 7.2, Cygwin VIM 6.x, and other
VIM/vi on Unix platforms -- and also on behavior or 'dw' or just 'w' on
*this* version of VIM:

alphabeta

That is, I expect 'cw' to be equivalent in general to 'dwi', and 'cwESC'
to be equivalent to 'dw' --- this is not the case any more, it seems.

-- Avijit Ghosh


  

cygcheck.out
Description: Binary data
--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple