After running set spell
is see spelling mistakes as well as non-capitalised words. I can move between mistakes with [s
or ]s
, but is there a way to move between non-capitalised words?
Motivation is to write a function that capitalises all the non-capitalised words.
[s
and[s
which would use the original command[s
, check if the current highlighting group isSpellCap
and either reuse[s
if the group is notSpellCap
or do nothing if it is. The problem however is that the traditional way to check for these highlighting groups doesn't work withSpellCap
(see the question I just asked here.) So I guess your second option is to use some regexes to find words miscapitalized and cycle through the matches.