Tip 121: Fix Spelling Errors from Insert Mode
Return to the top: <<Practical Vim>>
Preparation
This technique depends on having the spell checker enabled:
:set spell
The Usual Way: Switch to Normal Mode
Keystrokes:
-
<ESC> -
[s -
1z= -
A
The Fast Way: Use Spelling Autocompletion
<C-x>s
References:
# If you open the file in vim, # then you can \"ayy@a the next line to execute the vim command: :h compl-spelling