diff --git a/README.md b/README.md index e115644..72d84a3 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/vim/fix-the-spelling-of-a-word.md b/vim/fix-the-spelling-of-a-word.md new file mode 100644 index 0000000..f34c70e --- /dev/null +++ b/vim/fix-the-spelling-of-a-word.md @@ -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