From 41e3fa30050647845d1443973c596e49815e7ea5 Mon Sep 17 00:00:00 2001 From: Daniel Carl Date: Fri, 29 Aug 2014 20:05:31 +0200 Subject: [PATCH] Don't apply CTRL-V to pass through mode. It make no sense to pas through only the next char is we are already in pass through mode. --- src/mode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mode.c b/src/mode.c index bb1af1d..8bf4695 100644 --- a/src/mode.c +++ b/src/mode.c @@ -130,7 +130,7 @@ VbResult mode_handle_key(int key) return RESULT_COMPLETE; } - if (key == CTRL('V')) { + if (vb.mode->id != 'p' && key == CTRL('V')) { vb.mode->flags |= FLAG_NOMAP; ctrl_v = true; normal_showcmd(key); -- 2.20.1