summaryrefslogtreecommitdiff
path: root/src/selection.cc
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2018-03-04 10:28:35 +1100
committerMaxime Coste <mawww@kakoune.org>2018-03-04 10:32:21 +1100
commit2fd42fe5fcd7af52ce2306ea78a416b4ed0d06ef (patch)
tree99619e5f6cc7932b16b68fadd9beca0eb17e472f /src/selection.cc
parent850f5610966c46eae86a97524dfe0ea9b9996af6 (diff)
Insert: Do not move end of line on open line (o/O)
Change the logic of open line commands so that if a selection lies on the end of line character of the line from which we open a new line, that selection does not move. If we have two clients, A and B, with B's cursor on the eol character of line L, and A hits `o` while on line L, B's cursor should stay on the same (logical) line. Previous behaviour would make B's cursor jump on the newly inserted line.
Diffstat (limited to 'src/selection.cc')
0 files changed, 0 insertions, 0 deletions