0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 7.4.1150

Problem:    'langmap' applies to the first character typed in Select mode.
            (David Watson)
Solution:   Check for SELECTMODE. (Christian Brabandt, closes #572)
            Add the 'x' flag to feedkeys().
This commit is contained in:
Bram Moolenaar
2016-01-21 23:32:32 +01:00
parent d6357e8f93
commit 25281634cd
8 changed files with 52 additions and 9 deletions

View File

@@ -2149,7 +2149,8 @@ vgetorpeek(advance)
else
{
LANGMAP_ADJUST(c1,
(State & (CMDLINE | INSERT)) == 0);
(State & (CMDLINE | INSERT)) == 0
&& get_real_state() != SELECTMODE);
nolmaplen = 0;
}
#endif