mirror of
https://github.com/neovim/neovim.git
synced 2025-09-18 09:18:19 +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:
@@ -974,7 +974,7 @@ static int normal_execute(VimState *state, int key)
|
||||
s->old_col = curwin->w_curswant;
|
||||
s->c = key;
|
||||
|
||||
LANGMAP_ADJUST(s->c, true);
|
||||
LANGMAP_ADJUST(s->c, get_real_state() != SELECTMODE);
|
||||
|
||||
// If a mapping was started in Visual or Select mode, remember the length
|
||||
// of the mapping. This is used below to not return to Insert mode for as
|
||||
|
Reference in New Issue
Block a user