Great script. But IMO it lacks one feature: for some file types dash character is considered a keyword (see :h iskeyword), which makes it a part of a word (just like underscore). But the script acts as if dashes were a regular letter characters in such cases. It doesn't stop on dashes when `,w`, `,e` or `,b` motions are used.
For such a files it would be great for camelCaseMotion to be able to move through parts of a word separated by dashes also. In other words, if dash is a keyword, it would be useful if the script could treat dashes inside of words the same way as it currently treats underscores.
- Great suggestion! I will check whether it's possible to make the separator characters configurable, so that different / additional ones can be chosen. -- Inkarkat 14:31, November 14, 2010 (UTC)