Mercurial > vim
annotate src/testdir/test66.in @ 10147:65afd399ffa7 v7.4.2344
commit https://github.com/vim/vim/commit/169ebb080454357279ad5ad21ac532deaec605e8
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Sep 7 23:32:23 2016 +0200
patch 7.4.2344
Problem: The "Reading from channel output..." message can be unwanted.
Appending to a buffer leaves an empty first line behind.
Solution: Add the "out_msg" and "err_msg" options. Writing the first line
overwrites the first, empty line.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 07 Sep 2016 23:45:05 +0200 |
parents | 0a3fab86f34d |
children |
rev | line source |
---|---|
1839 | 1 |
2 Test for visual block shift and tab characters. | |
3 | |
4 STARTTEST | |
5 :so small.vim | |
4213 | 6 /^one |
7 fe4jRugvr1:'<,'>w! test.out | |
1839 | 8 /^abcdefgh |
9 4jI j<<11|D | |
10 7|a | |
11 7|a | |
12 7|a 4k13|4j< | |
4213 | 13 :$-5,$w >> test.out |
1839 | 14 :$-4,$s/\s\+//g |
15 4kI j<< | |
16 7|a | |
17 7|a | |
18 7|a 4k13|4j3< | |
19 :$-4,$w >> test.out | |
20 :qa! | |
21 ENDTEST | |
22 | |
4213 | 23 one two three |
24 one two three | |
25 one two three | |
26 one two three | |
27 one two three | |
28 | |
1839 | 29 abcdefghijklmnopqrstuvwxyz |
30 abcdefghijklmnopqrstuvwxyz | |
31 abcdefghijklmnopqrstuvwxyz | |
32 abcdefghijklmnopqrstuvwxyz | |
33 abcdefghijklmnopqrstuvwxyz |