mirror of
https://github.com/preservim/vim-litecorrect.git
synced 2025-11-12 20:03:47 -05:00
Added Karkat's suggestion for quick correction
This commit is contained in:
@@ -62,6 +62,17 @@ where the value is a list of the common misspellings for the key.
|
||||
The corrections you provide will be in addition to the defaults. Where
|
||||
there’s a conflict, your correction will prevail.
|
||||
|
||||
### Correct previous misspelling
|
||||
|
||||
Via [Ingo Karkat on Stack Overflow][ik], a command to force the top
|
||||
correction on the previous misspelling. Add to your `.vimrc`:
|
||||
|
||||
```vim
|
||||
inoremap <C-z> <Esc>[s1z=gi
|
||||
```
|
||||
|
||||
[ik]: http://stackoverflow.com/a/14602013
|
||||
|
||||
### Typographic characters
|
||||
|
||||
By default, straight quotes will be used in corrections. For example:
|
||||
|
||||
Reference in New Issue
Block a user