Mercurial > vim
annotate src/testdir/test17.in @ 2040:70c67b1bb1f1 v7.2.329
updated for version 7.2.329
Problem: "g_" doesn't position cursor correctly when in Visual mode and
'selection' is "exclusive". (Ben Fritz)
Solution: Call adjust_for_sel().
author | Bram Moolenaar <bram@zimbu.org> |
---|---|
date | Tue, 12 Jan 2010 15:42:37 +0100 |
parents | 3fc0f57ecb91 |
children | d29aa05b7e31 |
rev | line source |
---|---|
7 | 1 Tests for "gf" on ${VAR} |
2 | |
3 STARTTEST | |
4 :so small.vim | |
5 :if has("ebcdic") | |
6 : set isfname=@,240-249,/,.,-,_,+,,,$,:,~,{,} | |
7 :else | |
8 : set isfname=@,48-57,/,.,-,_,+,,,$,:,~,{,} | |
9 :endif | |
10 :if has("unix") | |
11 :let $CDIR = "." | |
12 /CDIR | |
13 :else | |
14 :if has("amiga") | |
15 :let $TDIR = "/testdir" | |
16 :else | |
17 :let $TDIR = "." | |
18 :endif | |
19 /TDIR | |
20 :endif | |
21 gf | |
22 :w! test.out | |
23 :qa! | |
24 ENDTEST | |
25 | |
26 ${CDIR}/test17a.in | |
27 $TDIR/test17a.in |