summaryrefslogtreecommitdiff
path: root/src/testdir/test_marks.in
blob: 341f3ac30f7cc0de8f1a49a56a84aa2166815324 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Tests for marks.

STARTTEST
:so small.vim
:" test that a deleted mark is restored after delete-undo-redo-undo
:/^\t/+1
:set nocp viminfo+=nviminfo
madduu
:let a = string(getpos("'a"))
:$put ='Mark after delete-undo-redo-undo: '.a
:/^\t/,$wq! test.out
ENDTEST

	textline A
	textline B
	textline C

Results: