From b4af4994fb349b6494f8ea392995a4f0bbca2c5a Mon Sep 17 00:00:00 2001 From: Delapouite Date: Tue, 6 Jun 2017 09:52:02 +0200 Subject: [PATCH] Remember previous NormalParams::count in view-lock mode --- src/normal.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/normal.cc b/src/normal.cc index c4b13046..94767f1b 100644 --- a/src/normal.cc +++ b/src/normal.cc @@ -318,7 +318,7 @@ void view_commands(Context& context, NormalParams params) return; if (lock) - view_commands(context, {}); + view_commands(context, { count, 0 }); auto cp = key.codepoint(); if (not cp or not context.has_window())