7
|
1 Tests for "r<Tab>" with 'smarttab' and 'expandtab' set/not set.
|
|
2
|
|
3 STARTTEST
|
|
4 :set smarttab expandtab ts=8 sw=4
|
1610
|
5 :" make sure that backspace works, no matter what termcap is used
|
|
6 :set t_kD=x7f t_kb=x08
|
7
|
7 /some
|
|
8 r :set noexpandtab
|
|
9 /other
|
|
10 r
|
|
11 :" Test replacing with Tabs and then backspacing to undo it
|
|
12 0wR
|
|
13 :" Test replacing with Tabs
|
|
14 0wR
|
|
15 :?^start?,$w! test.out
|
|
16 :qa!
|
|
17 ENDTEST
|
|
18
|
|
19 start text
|
|
20 some test text
|
|
21 test text
|
|
22 other test text
|
|
23 a cde
|
|
24 f ghi
|
|
25 test text
|