Mercurial > vim
annotate src/testdir/test41.in @ 9377:5ec4fbfe38c5 v7.4.1970
commit https://github.com/vim/vim/commit/70e136e1d86ea1d795774824c7b712245912946d
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Jul 1 14:04:51 2016 +0200
patch 7.4.1970
Problem: Using ":insert" in an empty buffer sets the jump mark. (Ingo
Karkat)
Solution: Don't adjust marks when replacing the empty line in an empty
buffer. (closes #892)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 01 Jul 2016 14:15:06 +0200 |
parents | 3fc0f57ecb91 |
children |
rev | line source |
---|---|
7 | 1 Test for writing and reading a file of over 100 Kbyte |
2 | |
3 1 line: "This is the start" | |
4 3001 lines: "This is the leader" | |
5 1 line: "This is the middle" | |
6 3001 lines: "This is the trailer" | |
7 1 line: "This is the end" | |
8 | |
9 STARTTEST | |
10 :%d | |
11 aThis is the start | |
12 This is the leader | |
13 This is the middle | |
14 This is the trailer | |
15 This is the endkY3000p2GY3000p | |
16 :w! Xtest | |
17 :%d | |
18 :e! Xtest | |
19 :.w! test.out | |
20 3003G:.w >>test.out | |
21 6005G:.w >>test.out | |
22 :qa! | |
23 ENDTEST | |
24 |