view src/testdir/test22.in @ 29026:5baf5e50049b v8.2.5035

patch 8.2.5035: when splitting a window the changelist position moves Commit: https://github.com/vim/vim/commit/e6f13b473cf2c270e4eab214e09be9825320c11b Author: zeertzjq <zeertzjq@outlook.com> Date: Sat May 28 10:49:44 2022 +0100 patch 8.2.5035: when splitting a window the changelist position moves Problem: When splitting a window the changelist position moves. Solution: Set the changelist index a bit later. (closes https://github.com/vim/vim/issues/10493)
author Bram Moolenaar <Bram@vim.org>
date Sat, 28 May 2022 12:00:03 +0200
parents 30bdd2e4a6f9
children
line wrap: on
line source

Tests for complicated + argument to :edit command

STARTTEST
:$-1w! Xfile1
:$w! Xfile2
:edit +1|s/|/PIPE/|w Xfile1| e Xfile2|1 | s/\//SLASH/|w
:w! test.out
:e Xfile1
:w >> test.out
:qa!
ENDTEST

The result should be in Xfile1: "fooPIPEbar", in Xfile2: "fooSLASHbar"
foo|bar
foo/bar