ViX wrote:
> if the cursor in at the first of the following line, eg. "s"
> self.InsertColumn(5, "Locked")
> cw will erase all words up to ',', is there a way to change the cw
> behavior so that it will stop at any non-alphabet (number, signs,
> etc)?

What's your value returned by

   set isk?

With factory-default settings in your scenario, using "cw" will 
delete "self" (up to the period) rather than to the comma.  Using 
"cW" will delete as you describe (up to the next whitespace). 
Try starting vim with

    vim -u NONE

and see if the behavior persists.  You can compare the resulting 
values for 'iskeyword' to see if some script has monkeyed with 
the settings.  You can even try

   :verbose set isk?

to see the culprit.

-tim




--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to