set spell is see spelling mistakes as well as non-capitalised words. I can move between mistakes with
]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.
[swhich would use the original command
[s, check if the current highlighting group is
SpellCapand either reuse
[sif the group is not
SpellCapor do nothing if it is. The problem however is that the traditional way to check for these highlighting groups doesn't work with
SpellCap(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.