vim

For discussion on all things (neo)vim.
dharrigan 2020-10-14T20:03:15.058Z

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

dharrigan 2020-10-14T20:03:25.058300Z

or something more sophisticated?

dharrigan 2020-10-14T20:04:04.058600Z

it throws off syntax highlighting if set

dominicm 2020-10-14T20:20:21.059100Z

Isn't there an isword instead?

dominicm 2020-10-14T20:20:40.059500Z

@dharrigan presumably this is for navigation with w?

dharrigan 2020-10-14T20:21:14.060100Z

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

dharrigan 2020-10-14T20:21:35.060500Z

I want to go to each part darnnaggit!

dominicm 2020-10-14T20:21:41.060800Z

Lemme dig out the plugin I use for you

dominicm 2020-10-14T20:22:31.061300Z

https://github.com/chaoren/vim-wordmotion

👍 1
dharrigan 2020-10-14T20:23:22.061800Z

ta thank you, will peruse 🙂

dharrigan 2020-10-14T20:44:47.062Z

works wooooonderfully!

dharrigan 2020-10-14T20:45:12.062700Z

have a 🍺 🍵 or 🍸 on me!