From e97f23f2be57359fef86efbf74e12cec0f151fa8 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Sat, 27 May 2017 09:08:36 +0100 Subject: [PATCH] Use more precise wording for object selection info box --- src/normal.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"));