1
0
mirror of https://github.com/onkelbeh/cheatsheets.git synced 2026-08-15 21:44:51 +02:00

Add spell checking to vim cheatsheet (#497)

* Add spell checking to vim cheatsheet

* Add backticks for command formatting
This commit is contained in:
Jason Weir
2018-11-07 14:08:13 -07:00
committed by chad d
parent 82985172c5
commit a4053b1b8e

14
vim.md
View File

@@ -363,6 +363,20 @@ Do this in insert mode.
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
--------