2

Using evil mode, pressing * runs evil-search-word-forward.

But for some reason C/C++ mode uses _ as a delimiter, meaning ID_FOO will only match the first term ID when searching for the next term.

How to configure these delimiter characters?

1

Even though I had:

(modify-syntax-entry ?_ "w")

Set, some modes ignore this (C/C++ for example)

Found solution is to set this for spesific modes:

(modify-syntax-entry ?_ "w" c-mode-syntax-table)
(modify-syntax-entry ?_ "w" c++-mode-syntax-table)

Not the answer you're looking for? Browse other questions tagged or ask your own question.