Fork me on GitHub
#vim
<
2020-10-14
>
dharrigan20:10:15

Does anyone else use set iskeyword-=- as a word boundary in vim for hyphenated words?

dharrigan20:10:25

or something more sophisticated?

dharrigan20:10:04

it throws off syntax highlighting if set

dominicm20:10:21

Isn't there an isword instead?

dominicm20:10:40

@dharrigan presumably this is for navigation with w?

dharrigan20:10:14

yeah, I'm tired of vim skipping over my this-is-a-var-thank-you-very-much

dharrigan20:10:35

I want to go to each part darnnaggit!

dominicm20:10:41

Lemme dig out the plugin I use for you

dharrigan20:10:22

ta thank you, will peruse 🙂

dharrigan20:10:47

works wooooonderfully!

dharrigan20:10:12

have a 🍺 🍵 or 🍸 on me!