From a4053b1b8e7738b10ca627fd6c20d29ad3a94701 Mon Sep 17 00:00:00 2001 From: Jason Weir <91488+Gidgidonihah@users.noreply.github.com> Date: Wed, 7 Nov 2018 14:08:13 -0700 Subject: [PATCH] Add spell checking to vim cheatsheet (#497) * Add spell checking to vim cheatsheet * Add backticks for command formatting --- vim.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/vim.md b/vim.md index 335c52025..5d8ae26a4 100644 --- a/vim.md +++ b/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 --------