How do I jump to the next misspelled word in my buffer using Vim's built-in spell check?
Answer
]s
Explanation
When spell checking is enabled with :set spell, Vim underlines misspelled words in the buffer. The ]s command jumps forward to the next flagged word, while [s jumps backward — letting you navigate errors without using the mouse or scanning visually.
How it works
]s— move to the next misspelled or rare word after the cursor[s— move to the previous misspelled or rare word before the cursor- Both commands wrap around the end of the file by default
- Add a count to jump multiple errors at once:
3]sjumps to the third next error
Example
After running :set spell spelllang=en_us, navigate between errors:
This sentance has a mispeling in it.
^ ^-- cursor jumps here with ]s
|-- cursor starts here
Press ]s to jump to the next error, then z= to open the suggestion list, or zg to add the word to your personal dictionary.
Tips
:set spellenables spell checking;:set nospelldisables it:set spelllang=en_us,frchecks multiple languages at once]S(uppercase) skips rare words and only stops at words Vim considers wrong- After jumping to an error, use
1z=to auto-apply the top suggestion without opening the list