diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-08-25 16:02:23 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-08-25 16:02:23 +0100 |
commit | f80f40a55ccff0a4331c5fbd1ac446511f622ed0 (patch) | |
tree | 6a43d76ea652831205c8df6439b98717a6425188 /runtime | |
parent | b213703f358e1e10ba0affb3729c09ccb2c88ea3 (diff) |
patch 9.0.0265: no good reason why the "gf" command isn't in the tiny versionv9.0.0265
Problem: No good reason why the "gf" command is not in the tiny version.
Solution: Graduate the file_in_path feature.
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/builtin.txt | 5 | ||||
-rw-r--r-- | runtime/doc/cmdline.txt | 3 | ||||
-rw-r--r-- | runtime/doc/editing.txt | 4 | ||||
-rw-r--r-- | runtime/doc/options.txt | 4 | ||||
-rw-r--r-- | runtime/doc/tabpage.txt | 2 | ||||
-rw-r--r-- | runtime/doc/windows.txt | 8 |
6 files changed, 2 insertions, 24 deletions
diff --git a/runtime/doc/builtin.txt b/runtime/doc/builtin.txt index 7df5e9f099..49d538d1e7 100644 --- a/runtime/doc/builtin.txt +++ b/runtime/doc/builtin.txt @@ -2736,8 +2736,6 @@ finddir({name} [, {path} [, {count}]]) *finddir()* Returns an empty string if the directory is not found. This is quite similar to the ex-command `:find`. - {only available when compiled with the |+file_in_path| - feature} Can also be used as a |method|: > GetName()->finddir() @@ -10532,7 +10530,8 @@ ex_extra |+ex_extra| (always true) extra_search Compiled with support for |'incsearch'| and |'hlsearch'| farsi Support for Farsi was removed |farsi|. -file_in_path Compiled with support for |gf| and |<cfile>| +file_in_path Compiled with support for |gf| and |<cfile>| (always + true) filterpipe When 'shelltemp' is off pipes are used for shell read/write/filter commands find_in_path Compiled with support for include file searches diff --git a/runtime/doc/cmdline.txt b/runtime/doc/cmdline.txt index e09ec39a54..e29369cb66 100644 --- a/runtime/doc/cmdline.txt +++ b/runtime/doc/cmdline.txt @@ -199,9 +199,6 @@ CTRL-R CTRL-L *c_CTRL-R_CTRL-L* *c_<C-R>_<C-L>* currently displayed match is used. With CTRL-W the part of the word that was already typed is not inserted again. - CTRL-F and CTRL-P: {only when |+file_in_path| feature is - included} - *c_CTRL-R_CTRL-R* *c_<C-R>_<C-R>* *c_CTRL-R_CTRL-O* *c_<C-R>_<C-O>* CTRL-R CTRL-R {register CTRL-F CTRL-P CTRL-W CTRL-A CTRL-L} diff --git a/runtime/doc/editing.txt b/runtime/doc/editing.txt index 0ce48af0d7..7eaf48d51f 100644 --- a/runtime/doc/editing.txt +++ b/runtime/doc/editing.txt @@ -247,8 +247,6 @@ If you want to keep the changed buffer without saving it, switch on the *:fin* *:find* :fin[d][!] [++opt] [+cmd] {file} Find {file} in 'path' and then |:edit| it. - {not available when the |+file_in_path| feature was - disabled at compile time} :{count}fin[d][!] [++opt] [+cmd] {file} Just like ":find", but use the {count} match in @@ -322,8 +320,6 @@ CTRL-^ Edit the alternate file. Mostly the alternate file is For Unix the '~' character is expanded, like in "~user/file". Environment variables are expanded too |expand-env|. - {not available when the |+file_in_path| feature was - disabled at compile time} *v_gf* {Visual}[count]gf Same as "gf", but the highlighted text is used as the diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index 9141763649..1a21be8ba1 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -1559,8 +1559,6 @@ A jump table for the options with a short description can be found at |Q_op|. *'cdpath'* *'cd'* *E344* *E346* 'cdpath' 'cd' string (default: equivalent to $CDPATH or ",,") global - {not available when compiled without the - |+file_in_path| feature} This is a list of directories which will be searched when using the |:cd|, |:tcd| and |:lcd| commands, provided that the directory being searched for has a relative path, not an absolute part starting with @@ -7726,8 +7724,6 @@ A jump table for the options with a short description can be found at |Q_op|. *'suffixesadd'* *'sua'* 'suffixesadd' 'sua' string (default "") local to buffer - {not available when compiled without the - |+file_in_path| feature} Comma-separated list of suffixes, which are used when searching for a file for the "gf", "[I", etc. commands. Example: > :set suffixesadd=.java diff --git a/runtime/doc/tabpage.txt b/runtime/doc/tabpage.txt index 54ac11e17a..a010e2fd27 100644 --- a/runtime/doc/tabpage.txt +++ b/runtime/doc/tabpage.txt @@ -81,8 +81,6 @@ For the related autocommands see |tabnew-autocmd|. :[count]tabf[ind] [++opt] [+cmd] {file} *:tabf* *:tabfind* Open a new tab page and edit {file} in 'path', like with |:find|. For [count] see |:tabnew| above. - {not available when the |+file_in_path| feature was disabled - at compile time} :[count]tab {cmd} *:tab* Execute {cmd} and when it opens a new window open a new tab diff --git a/runtime/doc/windows.txt b/runtime/doc/windows.txt index 5c648971f9..13f648f191 100644 --- a/runtime/doc/windows.txt +++ b/runtime/doc/windows.txt @@ -843,30 +843,22 @@ CTRL-W CTRL-F Split current window in two. Edit file name under cursor. If the name is a hypertext link that looks like "type://machine/path", only "/path" is used. If a count is given, the count'th matching file is edited. - {not available when the |+file_in_path| feature was disabled - at compile time} CTRL-W F *CTRL-W_F* Split current window in two. Edit file name under cursor and jump to the line number following the file name. See |gF| for details on how the line number is obtained. - {not available when the |+file_in_path| feature was disabled - at compile time} CTRL-W gf *CTRL-W_gf* Open a new tab page and edit the file name under the cursor. Like "tab split" and "gf", but the new tab page isn't created if the file does not exist. - {not available when the |+file_in_path| feature was disabled - at compile time} CTRL-W gF *CTRL-W_gF* Open a new tab page and edit the file name under the cursor and jump to the line number following the file name. Like "tab split" and "gF", but the new tab page isn't created if the file does not exist. - {not available when the |+file_in_path| feature was disabled - at compile time} CTRL-W gt *CTRL-W_gt* Go to next tab page, same as `gt`. |