Mercurial > vim
diff runtime/doc/editing.txt @ 681:9364d114ed8d v7.0204
updated for version 7.0204
author | vimboss |
---|---|
date | Wed, 22 Feb 2006 21:25:37 +0000 |
parents | 4b8583e82cb8 |
children | d7e33248b9c8 |
line wrap: on
line diff
--- a/runtime/doc/editing.txt +++ b/runtime/doc/editing.txt @@ -334,6 +334,22 @@ CTRL-^ Edit the alternate file (equiva (For {Visual} see |Visual-mode|.) {not in VI} + *gF* +[count]gF Same as "gf", except if a number follows the file + name, then the cursor is positioned on that line in + the file. The file name and the number must be + separated by a non-filename (see 'isfname') and + non-numeric character. White space between the + filename, the separator and the number are ignored. + Examples: > + eval.c:10 + eval.c @ 20 + eval.c (30) + eval.c 40 +< + *v_gF* +{Visual}[count]gF Same as "v_gf". + These commands are used to start editing a single file. This means that the file is read into the buffer and the current file name is set. The file that is opened depends on the current directory, see |:cd|.