Skip to content

Commit 1f7232e

Browse files
committed
Add Fix The Spelling Of A Word as a vim til
1 parent 63c1041 commit 1f7232e

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ smart people at [Hashrocket](http://hashrocket.com/).
1010
For a steady stream of TILs from a variety of rocketeers, checkout
1111
[til.hashrocket.com](https://til.hashrocket.com/).
1212

13-
_561 TILs and counting..._
13+
_562 TILs and counting..._
1414

1515
---
1616

@@ -577,6 +577,7 @@ _561 TILs and counting..._
577577
- [Edges Of The Selection](vim/edges-of-the-selection.md)
578578
- [End Of The Word](vim/end-of-the-word.md)
579579
- [Filter Lines Through An External Program](vim/filter-lines-through-an-external-program.md)
580+
- [Fix The Spelling Of A Word](vim/fix-the-spelling-of-a-word.md)
580581
- [Format Long Lines To Text Width](vim/format-long-lines-to-text-width.md)
581582
- [Generate and Edit Rails Migration](vim/generate-and-edit-rails-migration.md)
582583
- [Get The pid Of The Session](vim/get-the-pid-of-the-session.md)

vim/fix-the-spelling-of-a-word.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Fix The Spelling Of A Word
2+
3+
If there is a misspelled word (`:set spell` to see what is misspelled), you
4+
can navigate the cursor over that word and hit (from normal mode) `z=`. This
5+
will open up a screen of possible corrections. The one you are most likely
6+
looking for will be toward the top. Each possible spelling will have a
7+
number next to it. Enter the number of the word you are looking for and hit
8+
enter. The spelling of that word will have been updated.
9+
10+
Try misspelling something and give it a try yourself.
11+
12+
See `:h z=` for more details.
13+
14+
h/t Jake Worth

0 commit comments

Comments
 (0)