Mercurial > vim
annotate src/testdir/gui_preinit.vim @ 28371:c3a7be75ef16 v8.2.4711
patch 8.2.4711: when 'insermode' is set :edit from <Cmd> mapping misbehaves
Commit: https://github.com/vim/vim/commit/3a56b6d405fc0f1ca928b77382f97d0c552bea64
Author: zeertzjq <zeertzjq@outlook.com>
Date: Fri Apr 8 11:56:14 2022 +0100
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)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 08 Apr 2022 13:00:04 +0200 |
parents | d8a550329a97 |
children |
rev | line source |
---|---|
11119
d8a550329a97
patch 8.0.0447: getting font name does not work on X11
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
1 " vimrc for test_gui_init.vim |
d8a550329a97
patch 8.0.0447: getting font name does not work on X11
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
2 |
d8a550329a97
patch 8.0.0447: getting font name does not work on X11
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
3 " Note that this flag must be added in the .vimrc file, before switching on |
d8a550329a97
patch 8.0.0447: getting font name does not work on X11
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
4 " syntax or filetype recognition (when the |gvimrc| file is sourced the system |
d8a550329a97
patch 8.0.0447: getting font name does not work on X11
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
5 " menu has already been loaded; the ":syntax on" and ":filetype on" commands |
d8a550329a97
patch 8.0.0447: getting font name does not work on X11
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
6 " load the menu too). |
d8a550329a97
patch 8.0.0447: getting font name does not work on X11
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
7 set guioptions+=M |