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/normal.c | |
parent | d6357e8f93c50f984ffd69c3a0d247d8603f86c3 (diff) | |
download | vim-git-25281634cda03ce302aaf9f906a9520b5f81f91e.tar.gz |
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/normal.c')
-rw-r--r-- | src/normal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/normal.c b/src/normal.c index ac1a391f2..17cb8d6b8 100644 --- a/src/normal.c +++ b/src/normal.c @@ -638,7 +638,7 @@ normal_cmd(oap, toplevel) * Get the command character from the user. */ c = safe_vgetc(); - LANGMAP_ADJUST(c, TRUE); + LANGMAP_ADJUST(c, get_real_state() != SELECTMODE); /* * If a mapping was started in Visual or Select mode, remember the length |