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:
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.
|
||||
|
||||
### 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
|
||||
--------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user