view src/testdir/test22.in @ 22985:d768cdd50602 v8.2.2039

patch 8.2.2039: viminfo is not written when creating a new file Commit: https://github.com/vim/vim/commit/8e6be34338f13a6a625f19bcef82019c9adc65f2 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Nov 23 22:01:26 2020 +0100 patch 8.2.2039: viminfo is not written when creating a new file Problem: Viminfo is not written when creating a new file. Solution: Set "b_marks_read" in the new buffer. (Christian Brabandt, closes #7350)
author Bram Moolenaar <Bram@vim.org>
date Mon, 23 Nov 2020 22:15:05 +0100
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