zsh:keys: Add TODO about :keepjumps

The bindings that correct the previous or next misspelled word should
not modify the jumplist but `:keepjumps` disallows <C-O>.
This commit is contained in:
2022-03-30 03:01:31 +02:00
parent 0671f028e7
commit 87c804f2e1

View File

@@ -44,6 +44,8 @@ noremap! <C-H> <C-W>
noremap <leader>c 1z=
" Correct next or last misspelled word (and their non-rare/region versions)
" without moving
" TODO: see :keepjumps
" Problem: with keepjumps the <C-O> is not possible anymore
noremap <leader>]s ]s1z=<C-O>
noremap <leader>[s [s1z=<C-O>
noremap <leader>]S ]S1z=<C-O>