Vim Spelling Suggestions
Vim makes finding misspellings easy, with this command:
:set spell
You may need to adjust your color scheme to read the highlighted words. I like 'ron'
for this purpose.
Once Vim has highlighted a typo, what then? What is the correct spelling?
Put your cursor over the word, and type z=
for a list of suggestions. You can replace the word with the index number of your choice:
Change "tryin" to:
1 "Tryin"
2 "Trying"
3 "Train"
4 "Try in"
5 "Tr yin"
h/t Dorian Karter
Tweet