0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -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

@@ -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