2

I would like my evil text objects to work on kebab-case words, so that dw or cw act on the "whole-kebab-word" and not just on "whole".

Therefor I have put (modify-syntax-entry ?- "w" clojure-mode-syntax-table) into the clojure-mode-hook in my .spacemacs.

Now dw works on the whole kebab-word, but cw does not. It changes only the first part. Why is that?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.