Merge remote-tracking branch 'Delapouite/previous-char'
This commit is contained in:
commit
365407c37a
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user