docs: fix typos (#18866)

docs: fix typos and similarly insignificant changes

Co-authored-by: zeertzjq <zeertzjq@outlook.com>
Co-authored-by: smjonas <jonas.strittmatter@gmx.de>
Co-authored-by: kanreki <32443233+kanreki@users.noreply.github.com>
This commit is contained in:
dundargoc
2022-06-15 02:49:54 +02:00
committed by GitHub
parent 8ba64dd3ad
commit 6de7f32d52
10 changed files with 14 additions and 19 deletions

View File

@@ -6666,9 +6666,8 @@ void do_pending_operator(cmdarg_T *cap, int old_col, bool gui_yank)
CancelRedo();
} else {
// This is a new edit command, not a restart. Need to
// remember it to make 'insertmode' work with mappings for
// Visual mode. But do this only once and not when typed and
// 'insertmode' isn't set.
// remember it to make i_CTRL-O work with mappings for
// Visual mode. But do this only once and not when typed.
if (!KeyTyped) {
restart_edit_save = restart_edit;
} else {
@@ -6760,7 +6759,7 @@ void do_pending_operator(cmdarg_T *cap, int old_col, bool gui_yank)
CancelRedo();
} else {
// This is a new edit command, not a restart. Need to
// remember it to make 'insertmode' work with mappings for
// remember it to make i_CTRL-O work with mappings for
// Visual mode. But do this only once.
restart_edit_save = restart_edit;
restart_edit = 0;