Change next_key title for <a-f>, <a-t>, <a-F> and <a-T>

This commit is contained in:
Delapouite 2018-10-23 19:09:01 +02:00
parent e9802bac6f
commit ec0926c312

View File

@ -1469,10 +1469,10 @@ template<SelectFlags flags>
void select_to_next_char(Context& context, NormalParams params) void select_to_next_char(Context& context, NormalParams params)
{ {
auto get_title = [] { auto get_title = [] {
return format("{}{} {} next char", return format("{} {} {} char",
flags & SelectFlags::Reverse ? "reverse " : "",
flags & SelectFlags::Extend ? "extend" : "select", flags & SelectFlags::Extend ? "extend" : "select",
flags & SelectFlags::Inclusive ? "onto" : "to"); flags & SelectFlags::Inclusive ? "onto" : "to",
flags & SelectFlags::Reverse ? "previous" : "next");
}; };
on_next_key_with_autoinfo(context, KeymapMode::None, on_next_key_with_autoinfo(context, KeymapMode::None,