mirror of
https://github.com/zoriya/vim.git
synced 2025-12-19 05:35:17 +00: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user