diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-01-21 23:32:32 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-01-21 23:32:32 +0100 |
commit | 25281634cda03ce302aaf9f906a9520b5f81f91e (patch) | |
tree | ccc62740f7af898d7be19893f8972baf3aa3013f /src/getchar.c | |
parent | d6357e8f93c50f984ffd69c3a0d247d8603f86c3 (diff) |
patch 7.4.1150v7.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().
Diffstat (limited to 'src/getchar.c')
-rw-r--r-- | src/getchar.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/getchar.c b/src/getchar.c index 70829e18ef..5b5eab3871 100644 --- a/src/getchar.c +++ b/src/getchar.c @@ -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 |