From ddf8647a5393e049f514a39764aebd8893ce00b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Sun, 28 Sep 2014 11:11:07 +0200 Subject: Make '.' repeat last insertion --- config.def.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'config.def.h') 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[] = { -- cgit v1.2.3