Chapter 20: Find and Fix Typos with Vim’s Spell Checker

Chapter Overview

Part V: Tools | Tips 118-121

Vim’s built-in spell checking.

Tips in This Chapter

Tip Title Mastered

118

Spell Check Your Work

[ ]

119

Use Alternate Spellings

[ ]

120

Add Words to the Spell File

[ ]

121

Fix Spelling Errors from Insert Mode

[ ]

Spell Commands

Command Effect

:set spell

Enable spell check

:set spelllang=en_us

Set language

]s

Next misspelled word

[s

Previous misspelled word

z=

Suggest corrections

zg

Add word to spellfile

zw

Mark word as wrong

Ctrl-x s

Spell suggest (insert)

Commands Learned

Command Description Notes

Practice

Commands I tried while reading:

" (Add commands you practiced)

Questions

Things I want to explore further.

Chapter Complete

  • Read entire chapter

  • Tried all tips

  • Noted key learnings

Date completed: _