diff options
| author | Delapouite <delapouite@gmail.com> | 2017-05-31 19:57:56 +0200 |
|---|---|---|
| committer | Delapouite <delapouite@gmail.com> | 2017-05-31 19:57:56 +0200 |
| commit | e8707298c1ffedb6a0ff2fc0938b32d6cdc34f53 (patch) | |
| tree | 39a5561a386c48651aacd064a458eaf67f50b023 /src/normal.cc | |
| parent | 1d74e1edaf022895e1a35095724890fee6db9417 (diff) | |
Refine info titles to distinguish G and V modes
Diffstat (limited to 'src/normal.cc')
| -rw-r--r-- | src/normal.cc | 4 |
1 files 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<ColumnCount>(1, count)); break; } - }, "view", + }, lock ? "view (lock)" : "view", build_autoinfo_for_mapping(context, KeymapMode::View, {{{'v','c'}, "center cursor (vertically)"}, {{'m'}, "center cursor (horizontally)"}, |
