In Vim, how do you find the first 2 characters of every word in a file and replace it.
I'm actually looking to use matchadd for a plugin, but I'm struggling with vim's particular regex.
I have tried:
\w\{2}
But this gets the next set of 2 characters.
I have also tried:
\w\{2}\{-}
But this doesn't work as it's a syntax error.
I really want a non greedy regex on any 2 characters per word.