1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-03 07:08:01 +00:00

Add Fix The Spelling Of A Word as a vim til

This commit is contained in:
jbranchaud
2017-09-16 12:03:52 -05:00
parent 63c10410c6
commit 1f7232ed8e
2 changed files with 16 additions and 1 deletions

View File

@@ -10,7 +10,7 @@ smart people at [Hashrocket](http://hashrocket.com/).
For a steady stream of TILs from a variety of rocketeers, checkout
[til.hashrocket.com](https://til.hashrocket.com/).
_561 TILs and counting..._
_562 TILs and counting..._
---
@@ -577,6 +577,7 @@ _561 TILs and counting..._
- [Edges Of The Selection](vim/edges-of-the-selection.md)
- [End Of The Word](vim/end-of-the-word.md)
- [Filter Lines Through An External Program](vim/filter-lines-through-an-external-program.md)
- [Fix The Spelling Of A Word](vim/fix-the-spelling-of-a-word.md)
- [Format Long Lines To Text Width](vim/format-long-lines-to-text-width.md)
- [Generate and Edit Rails Migration](vim/generate-and-edit-rails-migration.md)
- [Get The pid Of The Session](vim/get-the-pid-of-the-session.md)

View File

@@ -0,0 +1,14 @@
# Fix The Spelling Of A Word
If there is a misspelled word (`:set spell` to see what is misspelled), you
can navigate the cursor over that word and hit (from normal mode) `z=`. This
will open up a screen of possible corrections. The one you are most likely
looking for will be toward the top. Each possible spelling will have a
number next to it. Enter the number of the word you are looking for and hit
enter. The spelling of that word will have been updated.
Try misspelling something and give it a try yourself.
See `:h z=` for more details.
h/t Jake Worth