mirror of
https://github.com/jbranchaud/til
synced 2026-01-06 16:48:01 +00:00
Add Fix The Spelling Of A Word as a vim til
This commit is contained in:
@@ -10,7 +10,7 @@ smart people at [Hashrocket](http://hashrocket.com/).
|
|||||||
For a steady stream of TILs from a variety of rocketeers, checkout
|
For a steady stream of TILs from a variety of rocketeers, checkout
|
||||||
[til.hashrocket.com](https://til.hashrocket.com/).
|
[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)
|
- [Edges Of The Selection](vim/edges-of-the-selection.md)
|
||||||
- [End Of The Word](vim/end-of-the-word.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)
|
- [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)
|
- [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)
|
- [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)
|
- [Get The pid Of The Session](vim/get-the-pid-of-the-session.md)
|
||||||
|
|||||||
14
vim/fix-the-spelling-of-a-word.md
Normal file
14
vim/fix-the-spelling-of-a-word.md
Normal 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
|
||||||
Reference in New Issue
Block a user