X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: sourceware.org Message-ID: <873793.37399.qm@web53305.mail.re2.yahoo.com> Date: Fri, 11 Dec 2009 08:32:47 -0800 (PST) From: Avijit Ghosh Subject: Cygwin 1.5.25, vim 7.2-3: [Even more Info] 'cw' and white-space To: cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Additional info: Looking up 'help cw' tells me that the behavior I am seeing should happen if the 'w' flag is set in 'cpoptions'. However, I checked my cpoptions (with 'set cpoptions?') -- and found that it is 'aABceFs' -- i.e. no 'w'. Problem still there. [Sorry I'm re-posting outside the thread as I don't know how to follow up on the mailing list when I'm not subscribed to it. Would be grateful if anyone can tell me how.] Additional information on the problem below -- I don't have any .vimrc, .gvimrc. .exrc or anything like that in my home directory. -- I've also tried running 'vim -u NONE' -- and I face the same problem. (I've seen a reply from Corinna Vinschen suggesting that there may be an issue with '.vimrc' -- so I cross checked.) -- Avijit 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 'cw', 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 'cw' > to be equivalent to 'dw' --- this is not the case any more, it seems. -- 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