view src/testdir/test23.in @ 11378:2ed7a34ecc54 v8.0.0574

patch 8.0.0574: get only one quickfix list after :caddbuf commit https://github.com/vim/vim/commit/99895eac1cf71be43ece7e14b50e206e041fbe9f Author: Bram Moolenaar <Bram@vim.org> Date: Thu Apr 20 22:44:47 2017 +0200 patch 8.0.0574: get only one quickfix list after :caddbuf Problem: Get only one quickfix list after :caddbuf. Solution: Reset qf_multiline. (Yegappan Lakshmanan)
author Christian Brabandt <cb@256bit.org>
date Thu, 20 Apr 2017 22:45:04 +0200
parents 3fc0f57ecb91
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