Allow access to end of line with horizontal moves (h and l)
Lets enable that for some time, get some feedback on that behaviour change, and see if we keep it.
This commit is contained in:
parent
6731e5fe2d
commit
6b1bd84e8e
|
@ -1504,7 +1504,9 @@ void move(Context& context, NormalParams params)
|
||||||
sel.anchor() = mode == SelectMode::Extend ? sel.anchor() : cursor;
|
sel.anchor() = mode == SelectMode::Extend ? sel.anchor() : cursor;
|
||||||
sel.cursor() = cursor;
|
sel.cursor() = cursor;
|
||||||
}
|
}
|
||||||
|
if (std::is_same<Type, LineCount>::value)
|
||||||
selections.avoid_eol();
|
selections.avoid_eol();
|
||||||
|
|
||||||
selections.sort_and_merge_overlapping();
|
selections.sort_and_merge_overlapping();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user