1

After the snippet gets expanded the cursor is put to the first section (long_name).

What key do I need to press in order to replace long_name?

Evil operations like e.g. cw or ce change long or to the line end, while I only want to replace long_name

screenshot

1

I think what you're looking for is to treat the underscore as part of the word, as Vim does. The best answer is probably this one - look at the solution adding advice around evil-inner-word

1

Your Answer

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

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