Lubos Rendek

The only solution is determination.

Spell Checking With VIM Text Editor

| Comments

There are times when instead of writing a code using VIM editor you write a block of text which needs to be spell checked before publishing. Spell cheek was first introduces in VIM 7.0. To enable this feature enter command:

1
:set spell spelllang=en_us

Once spell check is enabled VIM will instantly highlight your misspelled words. Use cursor to move to a misspelled word or enter commands to move forward and backward:

1
2
]s - forward
[s - backward

At the moment you get your cursor on misspelled word use

1
z=

command to get suggestions.

Comments