From 2fd42fe5fcd7af52ce2306ea78a416b4ed0d06ef Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Sun, 4 Mar 2018 10:28:35 +1100 Subject: 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. --- test/normal/open-multiple-below/cmd | 1 + 1 file changed, 1 insertion(+) create mode 100644 test/normal/open-multiple-below/cmd (limited to 'test/normal/open-multiple-below/cmd') diff --git a/test/normal/open-multiple-below/cmd b/test/normal/open-multiple-below/cmd new file mode 100644 index 00000000..e4be15d6 --- /dev/null +++ b/test/normal/open-multiple-below/cmd @@ -0,0 +1 @@ +3obar -- cgit v1.2.3