Merge remote-tracking branch 'Delapouite/previous-char'

This commit is contained in:
Maxime Coste 2018-10-24 08:13:45 +11:00
commit 365407c37a

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,