summaryrefslogtreecommitdiff
path: root/test/normal/open-multiple-above/in
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 /test/normal/open-multiple-above/in
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 'test/normal/open-multiple-above/in')
-rw-r--r--test/normal/open-multiple-above/in1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/normal/open-multiple-above/in b/test/normal/open-multiple-above/in
new file mode 100644
index 00000000..257cc564
--- /dev/null
+++ b/test/normal/open-multiple-above/in
@@ -0,0 +1 @@
+foo