Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Spellcheck Entire File in Vim

I am currently using Vim's spell checking and it is great, however when pounding out a long letter or some notes I often find it easier to ignore spelling errors and come back later. However, mashing [z and then changing the word is a little annoying. I was wondering if there is some sort of wizard approach that could be used (like aspell check) that would go through all the misspelled words in the document and provide the option to fix/add/ignore them.

like image 288
Kevin Cox Avatar asked Oct 14 '25 14:10

Kevin Cox


1 Answers

My SpellCheck plugin shows all spelling errors as a quickfix list via :SpellCheck. You can then use the built-in quickfix navigation (e.g. :cnext, maybe bound to a key mapping) to quickly go through the list. Commands like zg, z= etc. are forwarded to the target spell error.

like image 192
Ingo Karkat Avatar answered Oct 17 '25 09:10

Ingo Karkat



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!