Add clipboard support in non-GUI mode
[MacVim.git] / src / testdir / test25.in
blob4139865daf2404eeb1bd9142f1d3fc88785699f9
1 Test for jumping to a tag with 'hidden' set, with symbolic link in path of tag.
2 This only works for Unix, because of the symbolic link.
4 STARTTEST
5 :so small.vim
6 :set hidden
7 :" Create a link from test25.dir to the current directory.
8 :!rm -f test25.dir
9 :!ln -s . test25.dir
10 :" Create tags.text, with the current directory name inserted.
11 /tags line
12 :r !pwd
13 d$/test
14 hP:.w! tags.test
15 :" Try jumping to a tag in the current file, but with a path that contains a
16 :" symbolic link.  When wrong, this will give the ATTENTION message.  The next
17 :" space will then be eaten by hit-return, instead of moving the cursor to 'd'.
18 :set tags=tags.test
19 G\x1d x:.w! test.out
20 :!rm -f test25.dir tags.test
21 :qa!
22 ENDTEST
24 tags line:
25 SECTION_OFF     /test25.dir/test25.in   /^#define  SECTION_OFF  3$/
27 /*tx.c*/
28 #define  SECTION_OFF  3
29 #define  NUM_SECTIONS 3
31 SECTION_OFF