Merged from the latest developing branch.
[MacVim.git] / src / testdir / test19.in
blobbdcfb77dba3b12aad1cd32f8e0ce45b944970e63
1 Tests for "r<Tab>" with 'smarttab' and 'expandtab' set/not set.
3 STARTTEST
4 :set smarttab expandtab ts=8 sw=4
5 :" make sure that backspace works, no matter what termcap is used
6 :set t_kD=\x16x7f t_kb=\x16x08
7 /some
8 r       :set noexpandtab
9 /other
10 r       
11 :" Test replacing with Tabs and then backspacing to undo it
12 0wR                     \b\b\b\e
13 :" Test replacing with Tabs
14 0wR                     \e
15 :?^start?,$w! test.out
16 :qa!
17 ENDTEST
19 start text
20                 some test text
21 test text
22                 other test text
23     a cde
24     f ghi
25 test text