mirror of
https://github.com/neovim/neovim.git
synced 2025-09-27 13:38:34 +00:00
refactor!: delete insertmode (#18547)
Neovim already removed `evim` (or any similar flags). The 'insertmode' option is a weird remnant, so get rid of it. The 'insertmode' option is replaced with a script that closely emulates the option. This script is documented at :help 'insertmode'
This commit is contained in:
@@ -6719,7 +6719,7 @@ void do_pending_operator(cmdarg_T *cap, int old_col, bool 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 (!KeyTyped) {
|
||||
restart_edit_save = restart_edit;
|
||||
} else {
|
||||
restart_edit_save = 0;
|
||||
|
Reference in New Issue
Block a user