On 2009-02-05, ViX <[email protected]> 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)?

By default, cw will stop at the first non-word character, which in
this case is the '.'.  The behavior you're seeing results from
something having changed the 'iskeyword' option.  You can find the
culprit by executing

    :verbose set isk?

By knowing where 'iskeyword' is being set, you can figure out an
appropriate way to fix the problem.

See

    :help iskeyword

HTH,
Gary



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

Reply via email to