LOGBOOK

HELP

Quiz Entry - updated: 2026.07.14

How do you enable spell checking in VIM?

Turn it on with :set spell spelllang=en; then ]s/[s jump between misspellings and z= suggests fixes.

Once spell-checking is on, vim underlines/highlights unrecognized words. You don't hunt for them by eye — ]s jumps to the next flagged word, z= lists corrections to pick from, and zg ("good") adds a word to your personal dictionary so it stops being flagged. Switch language with spelllang=de for German, etc.

Spell checking commands:

:set spell spelllang=en

Before spell check:

Lorem ipsum dolor sit amet, consetetur sadipscing elitr...

After spell check: Misspelled words are highlighted in red:

  • Lorem, ipsum, dolor, amet, consetetur, sadipscing, etc.

Navigation:

Command Action
]s Next misspelled word
[s Previous misspelled word
z= Show spelling suggestions
zg Add word to dictionary

Disable spell check:

:set nospell

Tip: Use :set spelllang=de for German spell checking.

From Quiz: LIOS / Reading and Editing Files from the Command Line | Updated: Jul 14, 2026