summaryrefslogtreecommitdiff
path: root/src/normal.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/normal.cc')
-rw-r--r--src/normal.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/normal.cc b/src/normal.cc
index 119d11d7..e363fa81 100644
--- a/src/normal.cc
+++ b/src/normal.cc
@@ -1052,7 +1052,8 @@ void select_object(Context& context, NormalParams params)
auto get_title = [] {
const auto whole_flags = (ObjectFlags::ToBegin | ObjectFlags::ToEnd);
const bool whole = (flags & whole_flags) == whole_flags;
- return format("select {}{}object{}",
+ return format("{} {}{}surrounding object{}",
+ mode == SelectMode::Extend ? "extend" : "select",
whole ? "" : "to ",
flags & ObjectFlags::Inner ? "inner " : "",
whole ? "" : (flags & ObjectFlags::ToBegin ? " begin" : " end"));