-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Description
What I am finding is that while CamelCaseMotion works great for camelCaseVariables and underscore_case_variables (though I have not tried it as much on those), it most certainly does not work for editing hypen-separated-variables which often are used with HTML/CSS classes and styles and so on.
Generally only an issue when the syntax is specified such that hyphens are not word separators. E.g. I have in after/ftplugin/javascript.vim: set iskeyword+=-
Also it is somewhat better because CamelCaseMotion (the way it works with underscores) even though it does not work with a modifier, will tend to grab the underscore, whereas without the iskeyword tweak the movement actions will never include a hyphen.
Metadata
Metadata
Assignees
Labels
No labels