diff options
Diffstat (limited to 'config.def.h')
| -rw-r--r-- | config.def.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h index e203446..a10b2ad 100644 --- a/config.def.h +++ b/config.def.h @@ -545,6 +545,9 @@ static void vis_mode_insert_idle(void) { static void vis_mode_insert_input(const char *str, size_t len) { editor_insert_key(vis, str, len); + /* make sure we can repeat the last insert */ + action_reset(&action_prev); + action_prev.op = &ops[OP_REPEAT_INSERT]; } static KeyBinding vis_mode_replace[] = { |
