summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2017-06-03 14:45:48 +0100
committerMaxime Coste <mawww@kakoune.org>2017-06-03 14:45:48 +0100
commitc440bbde8148476c66f6ce513bde68385f678bdb (patch)
treef49803a10d272c5f5b0bc2279030c73074cc4b2a /src
parent514c4100cba4016a21f5e9f298cec8219cc9cb93 (diff)
parente8707298c1ffedb6a0ff2fc0938b32d6cdc34f53 (diff)
Merge remote-tracking branch 'Delapouite/shift-modes'
Diffstat (limited to 'src')
-rw-r--r--src/normal.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/normal.cc b/src/normal.cc
index 11af09ab..5f9d778c 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)"},