Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame^] | 1 | Tests for "r<Tab>" with 'smarttab' and 'expandtab' set/not set. |
2 | |||||
3 | STARTTEST | ||||
4 | :set smarttab expandtab ts=8 sw=4 | ||||
5 | /some | ||||
6 | r :set noexpandtab | ||||
7 | /other | ||||
8 | r | ||||
9 | :" Test replacing with Tabs and then backspacing to undo it | ||||
10 | 0wR | ||||
11 | :" Test replacing with Tabs | ||||
12 | 0wR | ||||
13 | :?^start?,$w! test.out | ||||
14 | :qa! | ||||
15 | ENDTEST | ||||
16 | |||||
17 | start text | ||||
18 | some test text | ||||
19 | test text | ||||
20 | other test text | ||||
21 | a cde | ||||
22 | f ghi | ||||
23 | test text |