Add spell checking to vim cheatsheet (#497)
* Add spell checking to vim cheatsheet * Add backticks for command formatting
This commit is contained in:
parent
82985172c5
commit
a4053b1b8e
14
vim.md
14
vim.md
|
@ -363,6 +363,20 @@ Do this in insert mode.
|
||||||
|
|
||||||
Works like `:qa`, but throws an error. Great for aborting Git commands.
|
Works like `:qa`, but throws an error. Great for aborting Git commands.
|
||||||
|
|
||||||
|
### Spell checking
|
||||||
|
|
||||||
|
| Shortcut | Description |
|
||||||
|
| --- | --- |
|
||||||
|
| `:set spell spelllang=en_us` | Turn on US English spell checking |
|
||||||
|
| `]s` | Move to next misspelled word after the cursor |
|
||||||
|
| `[s` | Move to previous misspelled word before the cursor |
|
||||||
|
| `z=` | Suggest spellings for the word under/after the cursor |
|
||||||
|
| `zg` | Add word to spell list |
|
||||||
|
{: .-shortcuts}
|
||||||
|
|
||||||
|
See `:help spell`
|
||||||
|
|
||||||
|
|
||||||
Also see
|
Also see
|
||||||
--------
|
--------
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue