From e8707298c1ffedb6a0ff2fc0938b32d6cdc34f53 Mon Sep 17 00:00:00 2001 From: Delapouite Date: Wed, 31 May 2017 19:57:56 +0200 Subject: [PATCH] Refine info titles to distinguish G and V modes --- src/normal.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/normal.cc b/src/normal.cc index e363fa81..77f8c21d 100644 --- a/src/normal.cc +++ b/src/normal.cc @@ -291,7 +291,7 @@ void goto_commands(Context& context, NormalParams params) break; } } - }, "goto", + }, (mode == SelectMode::Extend ? "goto (extend to)" : "goto"), build_autoinfo_for_mapping(context, KeymapMode::Goto, {{{'g','k'},"buffer top"}, {{'l'}, "line end"}, @@ -355,7 +355,7 @@ void view_commands(Context& context, NormalParams params) context.window().scroll( std::max(1, count)); break; } - }, "view", + }, lock ? "view (lock)" : "view", build_autoinfo_for_mapping(context, KeymapMode::View, {{{'v','c'}, "center cursor (vertically)"}, {{'m'}, "center cursor (horizontally)"},