mirror of
https://github.com/neovim/neovim.git
synced 2025-09-27 05:28:33 +00:00
vim-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().
25281634cd
This commit is contained in:
@@ -1757,7 +1757,8 @@ static int vgetorpeek(int advance)
|
||||
if (c1 == K_SPECIAL)
|
||||
nolmaplen = 2;
|
||||
else {
|
||||
LANGMAP_ADJUST(c1, (State & (CMDLINE | INSERT)) == 0);
|
||||
LANGMAP_ADJUST(c1, (State & (CMDLINE | INSERT)) == 0
|
||||
&& get_real_state() != SELECTMODE);
|
||||
nolmaplen = 0;
|
||||
}
|
||||
/* First try buffer-local mappings. */
|
||||
|
Reference in New Issue
Block a user