Mercurial > vim
comparison runtime/doc/editing.txt @ 29853:31c598083364 v9.0.0265
patch 9.0.0265: no good reason why the "gf" command isn't in the tiny version
Commit: https://github.com/vim/vim/commit/f80f40a55ccff0a4331c5fbd1ac446511f622ed0
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Aug 25 16:02:23 2022 +0100
patch 9.0.0265: no good reason why the "gf" command isn't in the tiny version
Problem: No good reason why the "gf" command is not in the tiny version.
Solution: Graduate the file_in_path feature.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 25 Aug 2022 17:15:03 +0200 |
parents | f8116058ca76 |
children | 62350f19d4ed |
comparison
equal
deleted
inserted
replaced
29852:8568b72caa9a | 29853:31c598083364 |
---|---|
245 Set 'fileformat' like |:enew|. | 245 Set 'fileformat' like |:enew|. |
246 | 246 |
247 *:fin* *:find* | 247 *:fin* *:find* |
248 :fin[d][!] [++opt] [+cmd] {file} | 248 :fin[d][!] [++opt] [+cmd] {file} |
249 Find {file} in 'path' and then |:edit| it. | 249 Find {file} in 'path' and then |:edit| it. |
250 {not available when the |+file_in_path| feature was | |
251 disabled at compile time} | |
252 | 250 |
253 :{count}fin[d][!] [++opt] [+cmd] {file} | 251 :{count}fin[d][!] [++opt] [+cmd] {file} |
254 Just like ":find", but use the {count} match in | 252 Just like ":find", but use the {count} match in |
255 'path'. Thus ":2find file" will find the second | 253 'path'. Thus ":2find file" will find the second |
256 "file" found in 'path'. When there are fewer matches | 254 "file" found in 'path'. When there are fewer matches |
320 < If the name is a hypertext link, that looks like | 318 < If the name is a hypertext link, that looks like |
321 "type://machine/path", you need the |netrw| plugin. | 319 "type://machine/path", you need the |netrw| plugin. |
322 For Unix the '~' character is expanded, like in | 320 For Unix the '~' character is expanded, like in |
323 "~user/file". Environment variables are expanded too | 321 "~user/file". Environment variables are expanded too |
324 |expand-env|. | 322 |expand-env|. |
325 {not available when the |+file_in_path| feature was | |
326 disabled at compile time} | |
327 | 323 |
328 *v_gf* | 324 *v_gf* |
329 {Visual}[count]gf Same as "gf", but the highlighted text is used as the | 325 {Visual}[count]gf Same as "gf", but the highlighted text is used as the |
330 name of the file to edit. 'isfname' is ignored. | 326 name of the file to edit. 'isfname' is ignored. |
331 Leading blanks are skipped, otherwise all blanks and | 327 Leading blanks are skipped, otherwise all blanks and |