mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
doc: remove "{not available ...}" noise
This commit is contained in:
parent
9bc4f275b3
commit
df636003bf
@ -162,8 +162,6 @@ gR Enter Virtual Replace mode: Each character you type
|
|||||||
<Tab> may replace several characters at once.
|
<Tab> may replace several characters at once.
|
||||||
Repeat the entered text [count]-1 times. See
|
Repeat the entered text [count]-1 times. See
|
||||||
|Virtual-Replace-mode| for more details.
|
|Virtual-Replace-mode| for more details.
|
||||||
{not available when compiled without the |+vreplace|
|
|
||||||
feature}
|
|
||||||
|
|
||||||
*c*
|
*c*
|
||||||
["x]c{motion} Delete {motion} text [into register x] and start
|
["x]c{motion} Delete {motion} text [into register x] and start
|
||||||
@ -282,14 +280,11 @@ gr{char} Replace the virtual characters under the cursor with
|
|||||||
space. See |gR| and |Virtual-Replace-mode| for more
|
space. See |gR| and |Virtual-Replace-mode| for more
|
||||||
details. As with |r| a count may be given.
|
details. As with |r| a count may be given.
|
||||||
{char} can be entered like with |r|.
|
{char} can be entered like with |r|.
|
||||||
{not available when compiled without the |+vreplace|
|
|
||||||
feature}
|
|
||||||
|
|
||||||
*digraph-arg*
|
*digraph-arg*
|
||||||
The argument for Normal mode commands like |r| and |t| is a single character.
|
The argument for Normal mode commands like |r| and |t| is a single character.
|
||||||
When 'cpo' doesn't contain the 'D' flag, this character can also be entered
|
When 'cpo' doesn't contain the 'D' flag, this character can also be entered
|
||||||
like |digraphs|. First type CTRL-K and then the two digraph characters.
|
like |digraphs|. First type CTRL-K and then the two digraph characters.
|
||||||
{not available when compiled without the |+digraphs| feature}
|
|
||||||
|
|
||||||
*case*
|
*case*
|
||||||
The following commands change the case of letters. The currently active
|
The following commands change the case of letters. The currently active
|
||||||
|
@ -5473,8 +5473,6 @@ libcall({libname}, {funcname}, {argument})
|
|||||||
the DLL is not in the usual places.
|
the DLL is not in the usual places.
|
||||||
For Unix: When compiling your own plugins, remember that the
|
For Unix: When compiling your own plugins, remember that the
|
||||||
object code must be compiled as position-independent ('PIC').
|
object code must be compiled as position-independent ('PIC').
|
||||||
{only in Win32 and some Unix versions, when the |+libcall|
|
|
||||||
feature is present}
|
|
||||||
Examples: >
|
Examples: >
|
||||||
:echo libcall("libc.so", "getenv", "HOME")
|
:echo libcall("libc.so", "getenv", "HOME")
|
||||||
<
|
<
|
||||||
@ -5482,8 +5480,6 @@ libcall({libname}, {funcname}, {argument})
|
|||||||
libcallnr({libname}, {funcname}, {argument})
|
libcallnr({libname}, {funcname}, {argument})
|
||||||
Just like |libcall()|, but used for a function that returns an
|
Just like |libcall()|, but used for a function that returns an
|
||||||
int instead of a string.
|
int instead of a string.
|
||||||
{only in Win32 on some Unix versions, when the |+libcall|
|
|
||||||
feature is present}
|
|
||||||
Examples: >
|
Examples: >
|
||||||
:echo libcallnr("/usr/lib/libc.so", "getpid", "")
|
:echo libcallnr("/usr/lib/libc.so", "getpid", "")
|
||||||
:call libcallnr("libc.so", "printf", "Hello World!\n")
|
:call libcallnr("libc.so", "printf", "Hello World!\n")
|
||||||
@ -6411,7 +6407,6 @@ py3eval({expr}) *py3eval()*
|
|||||||
Lists are represented as Vim |List| type.
|
Lists are represented as Vim |List| type.
|
||||||
Dictionaries are represented as Vim |Dictionary| type with
|
Dictionaries are represented as Vim |Dictionary| type with
|
||||||
keys converted to strings.
|
keys converted to strings.
|
||||||
{only available when compiled with the |+python3| feature}
|
|
||||||
|
|
||||||
*E858* *E859*
|
*E858* *E859*
|
||||||
pyeval({expr}) *pyeval()*
|
pyeval({expr}) *pyeval()*
|
||||||
@ -6422,7 +6417,6 @@ pyeval({expr}) *pyeval()*
|
|||||||
Lists are represented as Vim |List| type.
|
Lists are represented as Vim |List| type.
|
||||||
Dictionaries are represented as Vim |Dictionary| type,
|
Dictionaries are represented as Vim |Dictionary| type,
|
||||||
non-string keys result in error.
|
non-string keys result in error.
|
||||||
{only available when compiled with the |+python| feature}
|
|
||||||
|
|
||||||
pyxeval({expr}) *pyxeval()*
|
pyxeval({expr}) *pyxeval()*
|
||||||
Evaluate Python expression {expr} and return its result
|
Evaluate Python expression {expr} and return its result
|
||||||
@ -6556,7 +6550,6 @@ remote_expr({server}, {string} [, {idvar} [, {timeout}]])
|
|||||||
seconds. Otherwise a timeout of 600 seconds is used.
|
seconds. Otherwise a timeout of 600 seconds is used.
|
||||||
See also |clientserver| |RemoteReply|.
|
See also |clientserver| |RemoteReply|.
|
||||||
This function is not available in the |sandbox|.
|
This function is not available in the |sandbox|.
|
||||||
{only available when compiled with the |+clientserver| feature}
|
|
||||||
Note: Any errors will cause a local error message to be issued
|
Note: Any errors will cause a local error message to be issued
|
||||||
and the result will be the empty string.
|
and the result will be the empty string.
|
||||||
|
|
||||||
@ -6592,7 +6585,6 @@ remote_peek({serverid} [, {retvar}]) *remote_peek()*
|
|||||||
Returns -1 if something is wrong.
|
Returns -1 if something is wrong.
|
||||||
See also |clientserver|.
|
See also |clientserver|.
|
||||||
This function is not available in the |sandbox|.
|
This function is not available in the |sandbox|.
|
||||||
{only available when compiled with the |+clientserver| feature}
|
|
||||||
Examples: >
|
Examples: >
|
||||||
:let repl = ""
|
:let repl = ""
|
||||||
:echo "PEEK: ".remote_peek(id, "repl").": ".repl
|
:echo "PEEK: ".remote_peek(id, "repl").": ".repl
|
||||||
@ -6603,7 +6595,6 @@ remote_read({serverid}, [{timeout}]) *remote_read()*
|
|||||||
reply is available.
|
reply is available.
|
||||||
See also |clientserver|.
|
See also |clientserver|.
|
||||||
This function is not available in the |sandbox|.
|
This function is not available in the |sandbox|.
|
||||||
{only available when compiled with the |+clientserver| feature}
|
|
||||||
Example: >
|
Example: >
|
||||||
:echo remote_read(id)
|
:echo remote_read(id)
|
||||||
<
|
<
|
||||||
@ -6617,7 +6608,6 @@ remote_send({server}, {string} [, {idvar}])
|
|||||||
there.
|
there.
|
||||||
See also |clientserver| |RemoteReply|.
|
See also |clientserver| |RemoteReply|.
|
||||||
This function is not available in the |sandbox|.
|
This function is not available in the |sandbox|.
|
||||||
{only available when compiled with the |+clientserver| feature}
|
|
||||||
|
|
||||||
Note: Any errors will be reported in the server and may mess
|
Note: Any errors will be reported in the server and may mess
|
||||||
up the display.
|
up the display.
|
||||||
@ -6634,7 +6624,6 @@ remote_send({server}, {string} [, {idvar}])
|
|||||||
remote_startserver({name})
|
remote_startserver({name})
|
||||||
Become the server {name}. This fails if already running as a
|
Become the server {name}. This fails if already running as a
|
||||||
server, when |v:servername| is not empty.
|
server, when |v:servername| is not empty.
|
||||||
{only available when compiled with the |+clientserver| feature}
|
|
||||||
|
|
||||||
remove({list}, {idx} [, {end}]) *remove()*
|
remove({list}, {idx} [, {end}]) *remove()*
|
||||||
Without {end}: Remove the item at {idx} from |List| {list} and
|
Without {end}: Remove the item at {idx} from |List| {list} and
|
||||||
@ -6806,7 +6795,6 @@ search({pattern} [, {flags} [, {stopline} [, {timeout}]]]) *search()*
|
|||||||
{timeout} is 500 the search stops after half a second.
|
{timeout} is 500 the search stops after half a second.
|
||||||
The value must not be negative. A zero value is like not
|
The value must not be negative. A zero value is like not
|
||||||
giving the argument.
|
giving the argument.
|
||||||
{only available when compiled with the |+reltime| feature}
|
|
||||||
|
|
||||||
*search()-sub-match*
|
*search()-sub-match*
|
||||||
With the 'p' flag the returned value is one more than the
|
With the 'p' flag the returned value is one more than the
|
||||||
@ -6982,7 +6970,6 @@ searchpos({pattern} [, {flags} [, {stopline} [, {timeout}]]]) *searchpos()*
|
|||||||
server2client({clientid}, {string}) *server2client()*
|
server2client({clientid}, {string}) *server2client()*
|
||||||
Send a reply string to {clientid}. The most recent {clientid}
|
Send a reply string to {clientid}. The most recent {clientid}
|
||||||
that sent a string can be retrieved with expand("<client>").
|
that sent a string can be retrieved with expand("<client>").
|
||||||
{only available when compiled with the |+clientserver| feature}
|
|
||||||
Note:
|
Note:
|
||||||
This id has to be stored before the next command can be
|
This id has to be stored before the next command can be
|
||||||
received. I.e. before returning from the received command and
|
received. I.e. before returning from the received command and
|
||||||
|
@ -153,7 +153,6 @@ commands in CTRL-X submode *i_CTRL-X_index*
|
|||||||
|i_CTRL-X_CTRL-V| CTRL-X CTRL-V complete like in : command line
|
|i_CTRL-X_CTRL-V| CTRL-X CTRL-V complete like in : command line
|
||||||
|i_CTRL-X_CTRL-]| CTRL-X CTRL-] complete tags
|
|i_CTRL-X_CTRL-]| CTRL-X CTRL-] complete tags
|
||||||
|i_CTRL-X_s| CTRL-X s spelling suggestions
|
|i_CTRL-X_s| CTRL-X s spelling suggestions
|
||||||
{not available when compiled without the |+insert_expand| feature}
|
|
||||||
|
|
||||||
commands in completion mode (see |popupmenu-keys|)
|
commands in completion mode (see |popupmenu-keys|)
|
||||||
|
|
||||||
|
@ -790,8 +790,6 @@ g@{motion} Call the function set by the 'operatorfunc' option.
|
|||||||
"block" {motion} was |blockwise-visual|
|
"block" {motion} was |blockwise-visual|
|
||||||
Although "block" would rarely appear, since it can
|
Although "block" would rarely appear, since it can
|
||||||
only result from Visual mode where "g@" is not useful.
|
only result from Visual mode where "g@" is not useful.
|
||||||
{not available when compiled without the |+eval|
|
|
||||||
feature}
|
|
||||||
|
|
||||||
Here is an example that counts the number of spaces with <F4>: >
|
Here is an example that counts the number of spaces with <F4>: >
|
||||||
|
|
||||||
|
@ -703,7 +703,6 @@ text, you can use the 'keymap' option. This will translate one or more
|
|||||||
(English) characters to another (non-English) character. This only happens
|
(English) characters to another (non-English) character. This only happens
|
||||||
when typing text, not when typing Vim commands. This avoids having to switch
|
when typing text, not when typing Vim commands. This avoids having to switch
|
||||||
between two keyboard settings.
|
between two keyboard settings.
|
||||||
{only available when compiled with the |+keymap| feature}
|
|
||||||
|
|
||||||
The value of the 'keymap' option specifies a keymap file to use. The name of
|
The value of the 'keymap' option specifies a keymap file to use. The name of
|
||||||
this file is one of these two:
|
this file is one of these two:
|
||||||
|
@ -1189,7 +1189,6 @@ x A single character, with no special meaning, matches itself
|
|||||||
To include a "[" use "[[]" and for "]" use []]", e.g.,: >
|
To include a "[" use "[[]" and for "]" use []]", e.g.,: >
|
||||||
/index\%[[[]0[]]]
|
/index\%[[[]0[]]]
|
||||||
< matches "index" "index[", "index[0" and "index[0]".
|
< matches "index" "index[", "index[0" and "index[0]".
|
||||||
{not available when compiled without the |+syntax| feature}
|
|
||||||
|
|
||||||
*/\%d* */\%x* */\%o* */\%u* */\%U* *E678*
|
*/\%d* */\%x* */\%o* */\%u* */\%U* *E678*
|
||||||
|
|
||||||
|
@ -44,8 +44,6 @@ Note: If you have problems printing with |:hardcopy|, an alternative is to use
|
|||||||
{filename}.
|
{filename}.
|
||||||
Things like "%" are expanded |cmdline-special|
|
Things like "%" are expanded |cmdline-special|
|
||||||
Careful: An existing file is silently overwritten.
|
Careful: An existing file is silently overwritten.
|
||||||
{only available when compiled with the |+postscript|
|
|
||||||
feature}
|
|
||||||
On MS-Windows use the "print to file" feature of the
|
On MS-Windows use the "print to file" feature of the
|
||||||
printer driver.
|
printer driver.
|
||||||
|
|
||||||
|
@ -1088,8 +1088,6 @@ need to write down a "todo" list.
|
|||||||
If you use ":compiler foo" in "file.foo" and
|
If you use ":compiler foo" in "file.foo" and
|
||||||
then ":compiler! bar" in another buffer, Vim
|
then ":compiler! bar" in another buffer, Vim
|
||||||
will keep on using "foo" in "file.foo".
|
will keep on using "foo" in "file.foo".
|
||||||
{not available when compiled without the
|
|
||||||
|+eval| feature}
|
|
||||||
|
|
||||||
|
|
||||||
The Vim plugins in the "compiler" directory will set options to use the
|
The Vim plugins in the "compiler" directory will set options to use the
|
||||||
|
@ -257,7 +257,6 @@ argument.
|
|||||||
*-D*
|
*-D*
|
||||||
-D Debugging. Go to debugging mode when executing the first
|
-D Debugging. Go to debugging mode when executing the first
|
||||||
command from a script. |debug-mode|
|
command from a script. |debug-mode|
|
||||||
{not available when compiled without the |+eval| feature}
|
|
||||||
|
|
||||||
*-n*
|
*-n*
|
||||||
-n No |swap-file| will be used. Recovery after a crash will be
|
-n No |swap-file| will be used. Recovery after a crash will be
|
||||||
|
@ -3985,7 +3985,6 @@ This will make each {} block form one fold.
|
|||||||
The fold will start on the line where the item starts, and end where the item
|
The fold will start on the line where the item starts, and end where the item
|
||||||
ends. If the start and end are within the same line, there is no fold.
|
ends. If the start and end are within the same line, there is no fold.
|
||||||
The 'foldnestmax' option limits the nesting of syntax folds.
|
The 'foldnestmax' option limits the nesting of syntax folds.
|
||||||
{not available when Vim was compiled without |+folding| feature}
|
|
||||||
|
|
||||||
|
|
||||||
*:syn-contains* *E405* *E406* *E407* *E408* *E409*
|
*:syn-contains* *E405* *E406* *E407* *E408* *E409*
|
||||||
|
@ -74,8 +74,6 @@ For the related autocommands see |tabnew-autocmd|.
|
|||||||
:[count]tabf[ind] [++opt] [+cmd] {file} *:tabf* *:tabfind*
|
:[count]tabf[ind] [++opt] [+cmd] {file} *:tabf* *:tabfind*
|
||||||
Open a new tab page and edit {file} in 'path', like with
|
Open a new tab page and edit {file} in 'path', like with
|
||||||
|:find|. For [count] see |:tabnew| above.
|
|:find|. For [count] see |:tabnew| above.
|
||||||
{not available when the |+file_in_path| feature was disabled
|
|
||||||
at compile time}
|
|
||||||
|
|
||||||
:[count]tab {cmd} *:tab*
|
:[count]tab {cmd} *:tab*
|
||||||
Execute {cmd} and when it opens a new window open a new tab
|
Execute {cmd} and when it opens a new window open a new tab
|
||||||
|
@ -303,7 +303,6 @@ message is given.
|
|||||||
*tag-preview*
|
*tag-preview*
|
||||||
The tag match list can also be used in the preview window. The commands are
|
The tag match list can also be used in the preview window. The commands are
|
||||||
the same as above, with a "p" prepended.
|
the same as above, with a "p" prepended.
|
||||||
{not available when compiled without the |+quickfix| feature}
|
|
||||||
|
|
||||||
*:pts* *:ptselect*
|
*:pts* *:ptselect*
|
||||||
:pts[elect][!] [name] Does ":tselect[!] [name]" and shows the new tag in a
|
:pts[elect][!] [name] Does ":tselect[!] [name]" and shows the new tag in a
|
||||||
|
@ -294,7 +294,6 @@ More information about packages can be found here: |packages|.
|
|||||||
Vim's functionality can be extended by adding plugins. A plugin is nothing
|
Vim's functionality can be extended by adding plugins. A plugin is nothing
|
||||||
more than a Vim script file that is loaded automatically when Vim starts. You
|
more than a Vim script file that is loaded automatically when Vim starts. You
|
||||||
can add a plugin very easily by dropping it in your plugin directory.
|
can add a plugin very easily by dropping it in your plugin directory.
|
||||||
{not available when Vim was compiled without the |+eval| feature}
|
|
||||||
|
|
||||||
There are two types of plugins:
|
There are two types of plugins:
|
||||||
|
|
||||||
|
@ -451,7 +451,6 @@ or an autocommand will also display where it was last defined. If it was
|
|||||||
defined manually then there will be no "Last set" message. When it was
|
defined manually then there will be no "Last set" message. When it was
|
||||||
defined while executing a function, user command or autocommand, the script in
|
defined while executing a function, user command or autocommand, the script in
|
||||||
which it was defined is reported.
|
which it was defined is reported.
|
||||||
{not available when compiled without the |+eval| feature}
|
|
||||||
|
|
||||||
*K*
|
*K*
|
||||||
[count]K Run a program to lookup the keyword under the
|
[count]K Run a program to lookup the keyword under the
|
||||||
|
@ -292,8 +292,6 @@ mode.
|
|||||||
==============================================================================
|
==============================================================================
|
||||||
5. Blockwise operators *blockwise-operators*
|
5. Blockwise operators *blockwise-operators*
|
||||||
|
|
||||||
{not available when compiled without the |+visualextra| feature}
|
|
||||||
|
|
||||||
Reminder: Use 'virtualedit' to be able to select blocks that start or end
|
Reminder: Use 'virtualedit' to be able to select blocks that start or end
|
||||||
after the end of a line or halfway through a tab.
|
after the end of a line or halfway through a tab.
|
||||||
|
|
||||||
|
@ -409,7 +409,6 @@ CTRL-W CTRL-P Go to previous (last accessed) window.
|
|||||||
*CTRL-W_P* *E441*
|
*CTRL-W_P* *E441*
|
||||||
CTRL-W P Go to preview window. When there is no preview window this is
|
CTRL-W P Go to preview window. When there is no preview window this is
|
||||||
an error.
|
an error.
|
||||||
{not available when compiled without the |+quickfix| feature}
|
|
||||||
|
|
||||||
If Visual mode is active and the new window is not for the same buffer, the
|
If Visual mode is active and the new window is not for the same buffer, the
|
||||||
Visual mode is ended. If the window is on the same buffer, the cursor
|
Visual mode is ended. If the window is on the same buffer, the cursor
|
||||||
@ -788,30 +787,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
|
If the name is a hypertext link that looks like
|
||||||
"type://machine/path", only "/path" is used.
|
"type://machine/path", only "/path" is used.
|
||||||
If a count is given, the count'th matching file is edited.
|
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*
|
CTRL-W F *CTRL-W_F*
|
||||||
Split current window in two. Edit file name under cursor and
|
Split current window in two. Edit file name under cursor and
|
||||||
jump to the line number following the file name. See |gF| for
|
jump to the line number following the file name. See |gF| for
|
||||||
details on how the line number is obtained.
|
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*
|
CTRL-W gf *CTRL-W_gf*
|
||||||
Open a new tab page and edit the file name under the cursor.
|
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
|
Like "tab split" and "gf", but the new tab page isn't created
|
||||||
if the file does not exist.
|
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*
|
CTRL-W gF *CTRL-W_gF*
|
||||||
Open a new tab page and edit the file name under the cursor
|
Open a new tab page and edit the file name under the cursor
|
||||||
and jump to the line number following the file name. Like
|
and jump to the line number following the file name. Like
|
||||||
"tab split" and "gF", but the new tab page isn't created if
|
"tab split" and "gF", but the new tab page isn't created if
|
||||||
the file does not exist.
|
the file does not exist.
|
||||||
{not available when the |+file_in_path| feature was disabled
|
|
||||||
at compile time}
|
|
||||||
|
|
||||||
CTRL-W gt *CTRL-W_gt*
|
CTRL-W gt *CTRL-W_gt*
|
||||||
Go to next tab page, same as `gt`.
|
Go to next tab page, same as `gt`.
|
||||||
@ -828,7 +819,6 @@ the keyword under the cursor.
|
|||||||
The preview window is a special window to show (preview) another file. It is
|
The preview window is a special window to show (preview) another file. It is
|
||||||
normally a small window used to show an include file or definition of a
|
normally a small window used to show an include file or definition of a
|
||||||
function.
|
function.
|
||||||
{not available when compiled without the |+quickfix| feature}
|
|
||||||
|
|
||||||
There can be only one preview window (per tab page). It is created with one
|
There can be only one preview window (per tab page). It is created with one
|
||||||
of the commands below. The 'previewheight' option can be set to specify the
|
of the commands below. The 'previewheight' option can be set to specify the
|
||||||
@ -955,7 +945,6 @@ is no word under the cursor, and a few other things: >
|
|||||||
A hidden buffer is not displayed in a window, but is still loaded into memory.
|
A hidden buffer is not displayed in a window, but is still loaded into memory.
|
||||||
This makes it possible to jump from file to file, without the need to read or
|
This makes it possible to jump from file to file, without the need to read or
|
||||||
write the file every time you get another buffer in a window.
|
write the file every time you get another buffer in a window.
|
||||||
{not available when compiled without the |+listcmds| feature}
|
|
||||||
|
|
||||||
*:buffer-!*
|
*:buffer-!*
|
||||||
If the option 'hidden' ('hid') is set, abandoned buffers are kept for all
|
If the option 'hidden' ('hid') is set, abandoned buffers are kept for all
|
||||||
|
Loading…
Reference in New Issue
Block a user