Skip to content

Commit

Permalink
Try to fix missing CursorHoldI events
Browse files Browse the repository at this point in the history
This does not seem to break the use case mentioned in the comment: there
is no CursorHoldI event being fired after `CTRL-V` in insert mode.

Ref: neovim#3757 (comment)
  • Loading branch information
blueyed committed Jul 4, 2019
1 parent 99b870d commit 044cc74
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/nvim/edit.c
Original file line number Diff line number Diff line change
Expand Up @@ -648,9 +648,6 @@ static int insert_execute(VimState *state, int key)
InsertState *s = (InsertState *)state;
s->c = key;

// Don't want K_EVENT with cursorhold for the second key, e.g., after CTRL-V.
did_cursorhold = true;

if (p_hkmap && KeyTyped) {
s->c = hkmap(s->c); // Hebrew mode mapping
}
Expand Down

0 comments on commit 044cc74

Please sign in to comment.