]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.2.4711: when 'insermode' is set :edit from <Cmd> mapping misbehaves v8.2.4711
authorzeertzjq <zeertzjq@outlook.com>
Fri, 8 Apr 2022 10:56:14 +0000 (11:56 +0100)
committerBram Moolenaar <Bram@vim.org>
Fri, 8 Apr 2022 10:56:14 +0000 (11:56 +0100)
commit3a56b6d405fc0f1ca928b77382f97d0c552bea64
tree14723611ebb679b54619d713c26a80c9a9696206
parentac72c21da696cf6c31630a9e5ff4c0d3e2049c11
patch 8.2.4711: when 'insermode' is set :edit from <Cmd> mapping misbehaves

Problem:    When 'insermode' is set :edit from <Cmd> mapping misbehaves.
Solution:   Don't set "need_start_insertmode" when already in Insert mode.
            (closes #10116)
src/ex_cmds.c
src/testdir/test_edit.vim
src/version.c