:onoremap gb <cmd>normal! V<cr>
<Esc>
to exit into Normal mode.Only one <Esc>
to exit into Normal mode instead of two.
9.1.754
macOS 15.7
ghostty 1.2.2
$TERM is xterm-ghostty
See also for mor details / how we got there: https://github.com/neovim/neovim/issues/36119
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.
I think this fixes it, but not sure what this breaks:
diff --git a/src/ops.c b/src/ops.c index 1544f34d4..9f094d625 100644 --- a/src/ops.c +++ b/src/ops.c @@ -4377,7 +4377,7 @@ do_pending_operator(cmdarg_T *cap, int old_col, int gui_yank) // 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. - if (p_im || !KeyTyped) + if (p_im) restart_edit_save = restart_edit; else restart_edit_save = 0;
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.