mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 14:08:32 +00:00
Merge pull request #35187 from zeertzjq/vim-85cd509
vim-patch: doc updates
This commit is contained in:
@@ -22,13 +22,13 @@ For inserting text see |insert.txt|.
|
|||||||
"dl".
|
"dl".
|
||||||
The <Del> key does not take a [count]. Instead, it
|
The <Del> key does not take a [count]. Instead, it
|
||||||
deletes the last character of the count.
|
deletes the last character of the count.
|
||||||
See |'whichwrap'| for deleting a line break (join
|
See 'whichwrap' for deleting a line break (join
|
||||||
lines).
|
lines).
|
||||||
|
|
||||||
*X* *dh*
|
*X* *dh*
|
||||||
["x]X Delete [count] characters before the cursor [into
|
["x]X Delete [count] characters before the cursor [into
|
||||||
register x] (not |linewise|). Does the same as "dh".
|
register x] (not |linewise|). Does the same as "dh".
|
||||||
Also see |'whichwrap'|.
|
Also see 'whichwrap'.
|
||||||
|
|
||||||
*d*
|
*d*
|
||||||
["x]d{motion} Delete text that {motion} moves over [into register
|
["x]d{motion} Delete text that {motion} moves over [into register
|
||||||
@@ -583,9 +583,9 @@ with ".". Vim does not recognize a comment (starting with '"') after the
|
|||||||
={motion} Filter {motion} lines through the external program
|
={motion} Filter {motion} lines through the external program
|
||||||
given with the 'equalprg' option. When the 'equalprg'
|
given with the 'equalprg' option. When the 'equalprg'
|
||||||
option is empty (this is the default), use the
|
option is empty (this is the default), use the
|
||||||
internal formatting function |C-indenting| and
|
internal formatting function |C-indenting| and 'lisp'.
|
||||||
|'lisp'|. But when 'indentexpr' is not empty, it will
|
But when 'indentexpr' is not empty, it will be used
|
||||||
be used instead |indent-expression|.
|
instead |indent-expression|.
|
||||||
|
|
||||||
*==*
|
*==*
|
||||||
== Filter [count] lines like with ={motion}.
|
== Filter [count] lines like with ={motion}.
|
||||||
|
@@ -448,7 +448,7 @@ Manually set two anchors using line numbers via buffer-local options: >
|
|||||||
==============================================================================
|
==============================================================================
|
||||||
6. Diff options *diff-options*
|
6. Diff options *diff-options*
|
||||||
|
|
||||||
Also see |'diffopt'| and the "diff" item of |'fillchars'|.
|
Also see 'diffopt' and the "diff" item of 'fillchars'.
|
||||||
|
|
||||||
*diff-slow* *diff_translations*
|
*diff-slow* *diff_translations*
|
||||||
For very long lines, the diff syntax highlighting might be slow, especially
|
For very long lines, the diff syntax highlighting might be slow, especially
|
||||||
|
@@ -1356,7 +1356,7 @@ exist, the next-higher scope in the hierarchy applies.
|
|||||||
|
|
||||||
:cd[!] {path} Change the current directory to {path}.
|
:cd[!] {path} Change the current directory to {path}.
|
||||||
If {path} is relative, it is searched for in the
|
If {path} is relative, it is searched for in the
|
||||||
directories listed in |'cdpath'|.
|
directories listed in 'cdpath'.
|
||||||
Clear any window-local directory.
|
Clear any window-local directory.
|
||||||
Does not change the meaning of an already opened file,
|
Does not change the meaning of an already opened file,
|
||||||
because its full path name is remembered. Files from
|
because its full path name is remembered. Files from
|
||||||
|
@@ -76,8 +76,8 @@ The Ada plug-in provides support for:
|
|||||||
- user completion (|i_CTRL-X_CTRL-U|)
|
- user completion (|i_CTRL-X_CTRL-U|)
|
||||||
- tag searches (|tagsrch.txt|)
|
- tag searches (|tagsrch.txt|)
|
||||||
- Quick Fix (|quickfix.txt|)
|
- Quick Fix (|quickfix.txt|)
|
||||||
- backspace handling (|'backspace'|)
|
- backspace handling ('backspace')
|
||||||
- comment handling (|'comments'|, |'commentstring'|)
|
- comment handling ('comments', 'commentstring')
|
||||||
|
|
||||||
The plug-in only activates the features of the Ada mode whenever an Ada
|
The plug-in only activates the features of the Ada mode whenever an Ada
|
||||||
file is opened and adds Ada related entries to the main and pop-up menu.
|
file is opened and adds Ada related entries to the main and pop-up menu.
|
||||||
@@ -197,7 +197,7 @@ g:gnat.Project_File string
|
|||||||
|
|
||||||
*g:gnat.Make_Command*
|
*g:gnat.Make_Command*
|
||||||
g:gnat.Make_Command string
|
g:gnat.Make_Command string
|
||||||
External command used for |g:gnat.Make()| (|'makeprg'|).
|
External command used for |g:gnat.Make()| ('makeprg').
|
||||||
|
|
||||||
*g:gnat.Pretty_Program*
|
*g:gnat.Pretty_Program*
|
||||||
g:gnat.Pretty_Program string
|
g:gnat.Pretty_Program string
|
||||||
@@ -213,7 +213,7 @@ g:gnat.Tags_Command string
|
|||||||
|
|
||||||
*g:gnat.Error_Format*
|
*g:gnat.Error_Format*
|
||||||
g:gnat.Error_Format string
|
g:gnat.Error_Format string
|
||||||
Error format (|'errorformat'|)
|
Error format ('errorformat')
|
||||||
|
|
||||||
------------------------------------------------------------------------------
|
------------------------------------------------------------------------------
|
||||||
4.2 Dec Ada ~
|
4.2 Dec Ada ~
|
||||||
@@ -243,11 +243,11 @@ g:decada.Unit_Name() function
|
|||||||
|
|
||||||
*g:decada.Make_Command*
|
*g:decada.Make_Command*
|
||||||
g:decada.Make_Command string
|
g:decada.Make_Command string
|
||||||
External command used for |g:decada.Make()| (|'makeprg'|).
|
External command used for |g:decada.Make()| ('makeprg').
|
||||||
|
|
||||||
*g:decada.Error_Format*
|
*g:decada.Error_Format*
|
||||||
g:decada.Error_Format string
|
g:decada.Error_Format string
|
||||||
Error format (|'errorformat'|).
|
Error format ('errorformat').
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
5. References ~
|
5. References ~
|
||||||
|
@@ -172,7 +172,7 @@ with comments: >
|
|||||||
------------------------------------------------------------------------------
|
------------------------------------------------------------------------------
|
||||||
1.4 Macros *sql-macros*
|
1.4 Macros *sql-macros*
|
||||||
|
|
||||||
Vim's feature to find macro definitions, |'define'|, is supported using this
|
Vim's feature to find macro definitions, 'define', is supported using this
|
||||||
regular expression: >
|
regular expression: >
|
||||||
\c\<\(VARIABLE\|DECLARE\|IN\|OUT\|INOUT\)\>
|
\c\<\(VARIABLE\|DECLARE\|IN\|OUT\|INOUT\)\>
|
||||||
|
|
||||||
@@ -249,7 +249,7 @@ key to complete the optional parameter.
|
|||||||
After typing the function name and a space, you can use the completion to
|
After typing the function name and a space, you can use the completion to
|
||||||
supply a parameter. The function takes the name of the Vim script you want to
|
supply a parameter. The function takes the name of the Vim script you want to
|
||||||
source. Using the |cmdline-completion| feature, the SQLSetType function will
|
source. Using the |cmdline-completion| feature, the SQLSetType function will
|
||||||
search the |'runtimepath'| for all Vim scripts with a name containing "sql".
|
search the 'runtimepath' for all Vim scripts with a name containing "sql".
|
||||||
This takes the guess work out of the spelling of the names. The following are
|
This takes the guess work out of the spelling of the names. The following are
|
||||||
examples: >
|
examples: >
|
||||||
:SQLSetType
|
:SQLSetType
|
||||||
@@ -760,7 +760,7 @@ Step 1 ~
|
|||||||
Begins by editing a Perl file. Vim automatically sets the filetype to
|
Begins by editing a Perl file. Vim automatically sets the filetype to
|
||||||
"perl". By default, Vim runs the appropriate filetype file
|
"perl". By default, Vim runs the appropriate filetype file
|
||||||
ftplugin/perl.vim. If you are using the syntax completion plugin by following
|
ftplugin/perl.vim. If you are using the syntax completion plugin by following
|
||||||
the directions at |ft-syntax-omni| then the |'omnifunc'| option has been set to
|
the directions at |ft-syntax-omni| then the 'omnifunc' option has been set to
|
||||||
"syntax#Complete". Pressing <C-X><C-O> will display the omni popup containing
|
"syntax#Complete". Pressing <C-X><C-O> will display the omni popup containing
|
||||||
the syntax items for Perl.
|
the syntax items for Perl.
|
||||||
|
|
||||||
@@ -772,7 +772,7 @@ maps for SQL completion, see |sql-completion-maps|. Now these maps have
|
|||||||
been created and the SQL completion plugin has been initialized. All SQL
|
been created and the SQL completion plugin has been initialized. All SQL
|
||||||
syntax items have been cached in preparation. The SQL filetype script detects
|
syntax items have been cached in preparation. The SQL filetype script detects
|
||||||
we are attempting to use two different completion plugins. Since the SQL maps
|
we are attempting to use two different completion plugins. Since the SQL maps
|
||||||
begin with <C-C>, the maps will toggle the |'omnifunc'| when in use. So you
|
begin with <C-C>, the maps will toggle the 'omnifunc' when in use. So you
|
||||||
can use <C-X><C-O> to continue using the completion for Perl (using the syntax
|
can use <C-X><C-O> to continue using the completion for Perl (using the syntax
|
||||||
completion plugin) and <C-C> to use the SQL completion features.
|
completion plugin) and <C-C> to use the SQL completion features.
|
||||||
|
|
||||||
|
@@ -1017,7 +1017,7 @@ tag command action in Command-line editing mode ~
|
|||||||
|c_CTRL-D| CTRL-D list completions that match the pattern in
|
|c_CTRL-D| CTRL-D list completions that match the pattern in
|
||||||
front of the cursor
|
front of the cursor
|
||||||
|c_CTRL-E| CTRL-E cursor to end of command-line
|
|c_CTRL-E| CTRL-E cursor to end of command-line
|
||||||
|'cedit'| CTRL-F default value for 'cedit': opens the
|
'cedit' CTRL-F default value for 'cedit': opens the
|
||||||
command-line window; otherwise not used
|
command-line window; otherwise not used
|
||||||
|c_CTRL-G| CTRL-G next match when 'incsearch' is active
|
|c_CTRL-G| CTRL-G next match when 'incsearch' is active
|
||||||
|c_<BS>| <BS> delete the character in front of the cursor
|
|c_<BS>| <BS> delete the character in front of the cursor
|
||||||
|
@@ -29,7 +29,7 @@ use "CTRL-V 003" to insert a CTRL-C. Note: When CTRL-V is mapped you can
|
|||||||
often use CTRL-Q instead |i_CTRL-Q|.
|
often use CTRL-Q instead |i_CTRL-Q|.
|
||||||
|
|
||||||
If you are working in a special language mode when inserting text, see the
|
If you are working in a special language mode when inserting text, see the
|
||||||
'langmap' option, |'langmap'|, on how to avoid switching this mode on and off
|
'langmap' option, 'langmap', on how to avoid switching this mode on and off
|
||||||
all the time.
|
all the time.
|
||||||
|
|
||||||
char action ~
|
char action ~
|
||||||
@@ -279,7 +279,7 @@ When 'backspace' is empty, Vi compatible backspacing is used. You cannot
|
|||||||
backspace over autoindent, before column 1 or before where insert started.
|
backspace over autoindent, before column 1 or before where insert started.
|
||||||
|
|
||||||
For backwards compatibility the values "0", "1", "2" and "3" are also allowed,
|
For backwards compatibility the values "0", "1", "2" and "3" are also allowed,
|
||||||
see |'backspace'|.
|
see 'backspace'.
|
||||||
|
|
||||||
If the 'backspace' option does contain "eol" and the cursor is in column 1
|
If the 'backspace' option does contain "eol" and the cursor is in column 1
|
||||||
when one of the three keys is used, the current line is joined with the
|
when one of the three keys is used, the current line is joined with the
|
||||||
@@ -601,7 +601,7 @@ In 'list' mode, Virtual Replace mode acts as if it was not in 'list' mode,
|
|||||||
unless "L" is in 'cpoptions'.
|
unless "L" is in 'cpoptions'.
|
||||||
|
|
||||||
Note that the only situations for which characters beyond the cursor should
|
Note that the only situations for which characters beyond the cursor should
|
||||||
appear to move are in List mode |'list'|, and occasionally when 'wrap' is set
|
appear to move are in List mode 'list', and occasionally when 'wrap' is set
|
||||||
(and the line changes length to become shorter or wider than the width of the
|
(and the line changes length to become shorter or wider than the width of the
|
||||||
screen). In other cases spaces may be inserted to avoid following characters
|
screen). In other cases spaces may be inserted to avoid following characters
|
||||||
to move.
|
to move.
|
||||||
@@ -1117,11 +1117,11 @@ CTRL-X CTRL-Z Stop completion without changing the text.
|
|||||||
AUTOCOMPLETION *ins-autocompletion*
|
AUTOCOMPLETION *ins-autocompletion*
|
||||||
|
|
||||||
Vim can display a completion menu as you type, similar to using |i_CTRL-N|,
|
Vim can display a completion menu as you type, similar to using |i_CTRL-N|,
|
||||||
but triggered automatically. See |'autocomplete'|. The menu items are
|
but triggered automatically. See 'autocomplete'. The menu items are collected
|
||||||
collected from the sources listed in the |'complete'| option.
|
from the sources listed in the 'complete' option.
|
||||||
|
|
||||||
Unlike manual |i_CTRL-N| completion, this mode uses a decaying timeout to keep
|
Unlike manual |i_CTRL-N| completion, this mode uses a decaying timeout to keep
|
||||||
Vim responsive. Sources earlier in the |'complete'| list are given more time
|
Vim responsive. Sources earlier in the 'complete' list are given more time
|
||||||
(higher priority), but every source is guaranteed a time slice, however small.
|
(higher priority), but every source is guaranteed a time slice, however small.
|
||||||
|
|
||||||
This mode is fully compatible with other completion modes. You can invoke
|
This mode is fully compatible with other completion modes. You can invoke
|
||||||
|
@@ -605,7 +605,7 @@ status messages will only be used if an option is on: >
|
|||||||
command characters 'showcmd' on off
|
command characters 'showcmd' on off
|
||||||
cursor position 'ruler' off off
|
cursor position 'ruler' off off
|
||||||
|
|
||||||
The current mode is "-- INSERT --" or "-- REPLACE --", see |'showmode'|. The
|
The current mode is "-- INSERT --" or "-- REPLACE --", see 'showmode'. The
|
||||||
command characters are those that you typed but were not used yet.
|
command characters are those that you typed but were not used yet.
|
||||||
|
|
||||||
If you have a slow terminal you can switch off the status messages to speed
|
If you have a slow terminal you can switch off the status messages to speed
|
||||||
|
@@ -1390,13 +1390,13 @@ completion can be enabled:
|
|||||||
-complete=compiler compilers
|
-complete=compiler compilers
|
||||||
-complete=diff_buffer diff buffer names
|
-complete=diff_buffer diff buffer names
|
||||||
-complete=dir directory names
|
-complete=dir directory names
|
||||||
-complete=dir_in_path directory names in |'cdpath'|
|
-complete=dir_in_path directory names in 'cdpath'
|
||||||
-complete=environment environment variable names
|
-complete=environment environment variable names
|
||||||
-complete=event autocommand events
|
-complete=event autocommand events
|
||||||
-complete=expression Vim expression
|
-complete=expression Vim expression
|
||||||
-complete=file file and directory names
|
-complete=file file and directory names
|
||||||
-complete=file_in_path file and directory names in |'path'|
|
-complete=file_in_path file and directory names in 'path'
|
||||||
-complete=filetype filetype names |'filetype'|
|
-complete=filetype filetype names 'filetype'
|
||||||
-complete=function function name
|
-complete=function function name
|
||||||
-complete=help help subjects
|
-complete=help help subjects
|
||||||
-complete=highlight highlight groups
|
-complete=highlight highlight groups
|
||||||
@@ -1411,13 +1411,13 @@ completion can be enabled:
|
|||||||
-complete=option options
|
-complete=option options
|
||||||
-complete=packadd optional package |pack-add| names
|
-complete=packadd optional package |pack-add| names
|
||||||
-complete=retab |:retab| suboptions
|
-complete=retab |:retab| suboptions
|
||||||
-complete=runtime file and directory names in |'runtimepath'|
|
-complete=runtime file and directory names in 'runtimepath'
|
||||||
-complete=scriptnames sourced script names
|
-complete=scriptnames sourced script names
|
||||||
-complete=shellcmd Shell command
|
-complete=shellcmd Shell command
|
||||||
-complete=shellcmdline First is a shell command and subsequent ones
|
-complete=shellcmdline First is a shell command and subsequent ones
|
||||||
are filenames. The same behavior as |:!cmd|
|
are filenames. The same behavior as |:!cmd|
|
||||||
-complete=sign |:sign| suboptions
|
-complete=sign |:sign| suboptions
|
||||||
-complete=syntax syntax file names |'syntax'|
|
-complete=syntax syntax file names 'syntax'
|
||||||
-complete=syntime |:syntime| suboptions
|
-complete=syntime |:syntime| suboptions
|
||||||
-complete=tag tags
|
-complete=tag tags
|
||||||
-complete=tag_listfiles tags, file names are shown when CTRL-D is hit
|
-complete=tag_listfiles tags, file names are shown when CTRL-D is hit
|
||||||
|
@@ -540,7 +540,7 @@ attempting a symlink attack (could happen when editing a file in /tmp or when
|
|||||||
|
|
||||||
Vim (and Vi) expect tags files to be sorted in ASCII order. Binary searching
|
Vim (and Vi) expect tags files to be sorted in ASCII order. Binary searching
|
||||||
can then be used, which is a lot faster than a linear search. If your tags
|
can then be used, which is a lot faster than a linear search. If your tags
|
||||||
files are not properly sorted, reset the |'tagbsearch'| option.
|
files are not properly sorted, reset the 'tagbsearch' option.
|
||||||
This message is only given when Vim detects a problem when searching for a
|
This message is only given when Vim detects a problem when searching for a
|
||||||
tag. Sometimes this message is not given, even though the tags file is not
|
tag. Sometimes this message is not given, even though the tags file is not
|
||||||
properly sorted.
|
properly sorted.
|
||||||
|
@@ -1204,7 +1204,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
"nofile" and "nowrite" buffers are similar:
|
"nofile" and "nowrite" buffers are similar:
|
||||||
both: The buffer is not to be written to disk, ":w" doesn't
|
both: The buffer is not to be written to disk, ":w" doesn't
|
||||||
work (":w filename" does work though).
|
work (":w filename" does work though).
|
||||||
both: The buffer is never considered to be |'modified'|.
|
both: The buffer is never considered to be 'modified'.
|
||||||
There is no warning when the changes will be lost, for
|
There is no warning when the changes will be lost, for
|
||||||
example when you quit Vim.
|
example when you quit Vim.
|
||||||
both: A swap file is only created when using too much memory
|
both: A swap file is only created when using too much memory
|
||||||
@@ -1260,7 +1260,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
searched for has a relative path, not an absolute part starting with
|
searched for has a relative path, not an absolute part starting with
|
||||||
"/", "./" or "../", the 'cdpath' option is not used then.
|
"/", "./" or "../", the 'cdpath' option is not used then.
|
||||||
The 'cdpath' option's value has the same form and semantics as
|
The 'cdpath' option's value has the same form and semantics as
|
||||||
|'path'|. Also see |file-searching|.
|
'path'. Also see |file-searching|.
|
||||||
The default value is taken from $CDPATH, with a "," prepended to look
|
The default value is taken from $CDPATH, with a "," prepended to look
|
||||||
in the current directory first.
|
in the current directory first.
|
||||||
If the default value taken from $CDPATH is not what you want, include
|
If the default value taken from $CDPATH is not what you want, include
|
||||||
@@ -1612,7 +1612,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
controls how completion candidates are reduced from the
|
controls how completion candidates are reduced from the
|
||||||
list of alternatives. If you want to use |fuzzy-matching|
|
list of alternatives. If you want to use |fuzzy-matching|
|
||||||
to gather more alternatives for your candidate list,
|
to gather more alternatives for your candidate list,
|
||||||
see |'completefuzzycollect'|.
|
see 'completefuzzycollect'.
|
||||||
|
|
||||||
longest Only insert the longest common text of the matches. If
|
longest Only insert the longest common text of the matches. If
|
||||||
the menu is displayed you can use CTRL-L to add more
|
the menu is displayed you can use CTRL-L to add more
|
||||||
@@ -1739,7 +1739,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
local to buffer
|
local to buffer
|
||||||
Copy the structure of the existing lines indent when autoindenting a
|
Copy the structure of the existing lines indent when autoindenting a
|
||||||
new line. Normally the new indent is reconstructed by a series of
|
new line. Normally the new indent is reconstructed by a series of
|
||||||
tabs followed by spaces as required (unless |'expandtab'| is enabled,
|
tabs followed by spaces as required (unless 'expandtab' is enabled,
|
||||||
in which case only spaces are used). Enabling this option makes the
|
in which case only spaces are used). Enabling this option makes the
|
||||||
new line copy whatever characters were used for indenting on the
|
new line copy whatever characters were used for indenting on the
|
||||||
existing line. 'expandtab' has no effect on these characters, a Tab
|
existing line. 'expandtab' has no effect on these characters, a Tab
|
||||||
@@ -1852,7 +1852,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
*cpo-m*
|
*cpo-m*
|
||||||
m When included, a showmatch will always wait half a
|
m When included, a showmatch will always wait half a
|
||||||
second. When not included, a showmatch will wait half
|
second. When not included, a showmatch will wait half
|
||||||
a second or until a character is typed. |'showmatch'|
|
a second or until a character is typed. 'showmatch'
|
||||||
*cpo-M*
|
*cpo-M*
|
||||||
M When excluded, "%" matching will take backslashes into
|
M When excluded, "%" matching will take backslashes into
|
||||||
account. Thus in "( \( )" and "\( ( \)" the outer
|
account. Thus in "( \( )" and "\( ( \)" the outer
|
||||||
@@ -4056,8 +4056,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
'lispoptions' 'lop' string (default "")
|
'lispoptions' 'lop' string (default "")
|
||||||
local to buffer
|
local to buffer
|
||||||
Comma-separated list of items that influence the Lisp indenting when
|
Comma-separated list of items that influence the Lisp indenting when
|
||||||
enabled with the |'lisp'| option. Currently only one item is
|
enabled with the 'lisp' option. Currently only one item is supported:
|
||||||
supported:
|
|
||||||
expr:1 use 'indentexpr' for Lisp indenting when it is set
|
expr:1 use 'indentexpr' for Lisp indenting when it is set
|
||||||
expr:0 do not use 'indentexpr' for Lisp indenting (default)
|
expr:0 do not use 'indentexpr' for Lisp indenting (default)
|
||||||
Note that when using 'indentexpr' the `=` operator indents all the
|
Note that when using 'indentexpr' the `=` operator indents all the
|
||||||
@@ -4067,7 +4066,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
'lispwords' 'lw' string (default is very long)
|
'lispwords' 'lw' string (default is very long)
|
||||||
global or local to buffer |global-local|
|
global or local to buffer |global-local|
|
||||||
Comma-separated list of words that influence the Lisp indenting when
|
Comma-separated list of words that influence the Lisp indenting when
|
||||||
enabled with the |'lisp'| option.
|
enabled with the 'lisp' option.
|
||||||
|
|
||||||
*'list'* *'nolist'*
|
*'list'* *'nolist'*
|
||||||
'list' boolean (default off)
|
'list' boolean (default off)
|
||||||
@@ -4810,7 +4809,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
local to buffer
|
local to buffer
|
||||||
When changing the indent of the current line, preserve as much of the
|
When changing the indent of the current line, preserve as much of the
|
||||||
indent structure as possible. Normally the indent is replaced by a
|
indent structure as possible. Normally the indent is replaced by a
|
||||||
series of tabs followed by spaces as required (unless |'expandtab'| is
|
series of tabs followed by spaces as required (unless 'expandtab' is
|
||||||
enabled, in which case only spaces are used). Enabling this option
|
enabled, in which case only spaces are used). Enabling this option
|
||||||
means the indent will preserve as many existing characters as possible
|
means the indent will preserve as many existing characters as possible
|
||||||
for indenting, and only add additional tabs or spaces as required.
|
for indenting, and only add additional tabs or spaces as required.
|
||||||
@@ -5199,7 +5198,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
current window also scrolls other scrollbind windows (windows that
|
current window also scrolls other scrollbind windows (windows that
|
||||||
also have this option set). This option is useful for viewing the
|
also have this option set). This option is useful for viewing the
|
||||||
differences between two versions of a file, see 'diff'.
|
differences between two versions of a file, see 'diff'.
|
||||||
See |'scrollopt'| for options that determine how this option should be
|
See 'scrollopt' for options that determine how this option should be
|
||||||
interpreted.
|
interpreted.
|
||||||
This option is mostly reset when splitting a window to edit another
|
This option is mostly reset when splitting a window to edit another
|
||||||
file. This means that ":split | edit file" results in two windows
|
file. This means that ":split | edit file" results in two windows
|
||||||
@@ -5676,7 +5675,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
'shiftwidth' 'sw' number (default 8)
|
'shiftwidth' 'sw' number (default 8)
|
||||||
local to buffer
|
local to buffer
|
||||||
Number of columns that make up one level of (auto)indentation. Used
|
Number of columns that make up one level of (auto)indentation. Used
|
||||||
by |'cindent'|, |<<|, |>>|, etc.
|
by 'cindent', |<<|, |>>|, etc.
|
||||||
If set to 0, Vim uses the current 'tabstop' value. Use |shiftwidth()|
|
If set to 0, Vim uses the current 'tabstop' value. Use |shiftwidth()|
|
||||||
to obtain the effective value in scripts.
|
to obtain the effective value in scripts.
|
||||||
|
|
||||||
@@ -5853,7 +5852,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
global or local to window |global-local|
|
global or local to window |global-local|
|
||||||
The minimal number of screen columns to keep to the left and to the
|
The minimal number of screen columns to keep to the left and to the
|
||||||
right of the cursor if 'nowrap' is set. Setting this option to a
|
right of the cursor if 'nowrap' is set. Setting this option to a
|
||||||
value greater than 0 while having |'sidescroll'| also at a non-zero
|
value greater than 0 while having 'sidescroll' also at a non-zero
|
||||||
value makes some context visible in the line you are scrolling in
|
value makes some context visible in the line you are scrolling in
|
||||||
horizontally (except at beginning of the line). Setting this option
|
horizontally (except at beginning of the line). Setting this option
|
||||||
to a large value (like 999) has the effect of keeping the cursor
|
to a large value (like 999) has the effect of keeping the cursor
|
||||||
@@ -5864,9 +5863,9 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
setlocal sidescrolloff<
|
setlocal sidescrolloff<
|
||||||
setlocal sidescrolloff=-1
|
setlocal sidescrolloff=-1
|
||||||
<
|
<
|
||||||
Example: Try this together with 'sidescroll' and 'listchars' as
|
Example: Try this together with 'sidescroll' and 'listchars' as in the
|
||||||
in the following example to never allow the cursor to move
|
following example to never allow the cursor to move onto the
|
||||||
onto the "extends" character: >vim
|
"extends" character: >vim
|
||||||
|
|
||||||
set nowrap sidescroll=1 listchars=extends:>,precedes:<
|
set nowrap sidescroll=1 listchars=extends:>,precedes:<
|
||||||
set sidescrolloff=1
|
set sidescrolloff=1
|
||||||
@@ -5971,8 +5970,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
enabled. See also |ins-expandtab| ans user manual section |30.5| for
|
enabled. See also |ins-expandtab| ans user manual section |30.5| for
|
||||||
in-depth explanations.
|
in-depth explanations.
|
||||||
|
|
||||||
The value of 'softtabstop' will be ignored if |'varsofttabstop'| is set
|
The value of 'softtabstop' will be ignored if 'varsofttabstop' is set to
|
||||||
to anything other than an empty string.
|
anything other than an empty string.
|
||||||
|
|
||||||
*'spell'* *'nospell'*
|
*'spell'* *'nospell'*
|
||||||
'spell' boolean (default off)
|
'spell' boolean (default off)
|
||||||
@@ -6197,8 +6196,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
%C fold column for currently drawn line
|
%C fold column for currently drawn line
|
||||||
|
|
||||||
The 'statuscolumn' width follows that of the default columns and
|
The 'statuscolumn' width follows that of the default columns and
|
||||||
adapts to the |'numberwidth'|, |'signcolumn'| and |'foldcolumn'| option
|
adapts to the 'numberwidth', 'signcolumn' and 'foldcolumn' option values
|
||||||
values (regardless of whether the sign and fold items are present).
|
(regardless of whether the sign and fold items are present).
|
||||||
Additionally, the 'statuscolumn' grows with the size of the evaluated
|
Additionally, the 'statuscolumn' grows with the size of the evaluated
|
||||||
format string, up to a point (following the maximum size of the default
|
format string, up to a point (following the maximum size of the default
|
||||||
fold, sign and number columns). Shrinking only happens when the number
|
fold, sign and number columns). Shrinking only happens when the number
|
||||||
@@ -6211,7 +6210,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
drawing the wrapped part of a buffer line.
|
drawing the wrapped part of a buffer line.
|
||||||
|
|
||||||
When using |v:relnum|, keep in mind that cursor movement by itself will
|
When using |v:relnum|, keep in mind that cursor movement by itself will
|
||||||
not cause the 'statuscolumn' to update unless |'relativenumber'| is set.
|
not cause the 'statuscolumn' to update unless 'relativenumber' is set.
|
||||||
|
|
||||||
NOTE: The %@ click execute function item is supported as well but the
|
NOTE: The %@ click execute function item is supported as well but the
|
||||||
specified function will be the same for each row in the same column.
|
specified function will be the same for each row in the same column.
|
||||||
@@ -6483,7 +6482,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
Careful: All text will be in memory:
|
Careful: All text will be in memory:
|
||||||
- Don't use this for big files.
|
- Don't use this for big files.
|
||||||
- Recovery will be impossible!
|
- Recovery will be impossible!
|
||||||
A swapfile will only be present when |'updatecount'| is non-zero and
|
A swapfile will only be present when 'updatecount' is non-zero and
|
||||||
'swapfile' is set.
|
'swapfile' is set.
|
||||||
When 'swapfile' is reset, the swap file for the current buffer is
|
When 'swapfile' is reset, the swap file for the current buffer is
|
||||||
immediately deleted. When 'swapfile' is set, and 'updatecount' is
|
immediately deleted. When 'swapfile' is set, and 'updatecount' is
|
||||||
@@ -6614,7 +6613,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
character (ASCII 9); a Horizontal Tab always advances to the next tab
|
character (ASCII 9); a Horizontal Tab always advances to the next tab
|
||||||
stop.
|
stop.
|
||||||
The value must be at least 1 and at most 9999.
|
The value must be at least 1 and at most 9999.
|
||||||
If |'vartabstop'| is set, this option is ignored.
|
If 'vartabstop' is set, this option is ignored.
|
||||||
Leave it at 8 unless you have a strong reason (see usr |30.5|).
|
Leave it at 8 unless you have a strong reason (see usr |30.5|).
|
||||||
|
|
||||||
*'tagbsearch'* *'tbs'* *'notagbsearch'* *'notbs'*
|
*'tagbsearch'* *'tbs'* *'notagbsearch'* *'notbs'*
|
||||||
@@ -7013,12 +7012,12 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
recovery |crash-recovery|). 'updatecount' is set to zero by starting
|
recovery |crash-recovery|). 'updatecount' is set to zero by starting
|
||||||
Vim with the "-n" option, see |startup|. When editing in readonly
|
Vim with the "-n" option, see |startup|. When editing in readonly
|
||||||
mode this option will be initialized to 10000.
|
mode this option will be initialized to 10000.
|
||||||
The swapfile can be disabled per buffer with |'swapfile'|.
|
The swapfile can be disabled per buffer with 'swapfile'.
|
||||||
When 'updatecount' is set from zero to non-zero, swap files are
|
When 'updatecount' is set from zero to non-zero, swap files are
|
||||||
created for all buffers that have 'swapfile' set. When 'updatecount'
|
created for all buffers that have 'swapfile' set. When 'updatecount'
|
||||||
is set to zero, existing swap files are not deleted.
|
is set to zero, existing swap files are not deleted.
|
||||||
This option has no meaning in buffers where |'buftype'| is "nofile"
|
This option has no meaning in buffers where 'buftype' is "nofile" or
|
||||||
or "nowrite".
|
"nowrite".
|
||||||
|
|
||||||
*'updatetime'* *'ut'*
|
*'updatetime'* *'ut'*
|
||||||
'updatetime' 'ut' number (default 4000)
|
'updatetime' 'ut' number (default 4000)
|
||||||
|
@@ -62,7 +62,7 @@ N Repeat the latest "/" or "?" [count] times in
|
|||||||
* Search forward for the [count]'th occurrence of the
|
* Search forward for the [count]'th occurrence of the
|
||||||
word nearest to the cursor. The word used for the
|
word nearest to the cursor. The word used for the
|
||||||
search is the first of:
|
search is the first of:
|
||||||
1. the keyword under the cursor |'iskeyword'|
|
1. the keyword under the cursor 'iskeyword'
|
||||||
2. the first keyword after the cursor, in the
|
2. the first keyword after the cursor, in the
|
||||||
current line
|
current line
|
||||||
3. the non-blank word under the cursor
|
3. the non-blank word under the cursor
|
||||||
|
@@ -1072,8 +1072,8 @@ commands can be combined to create a NewGrep command: >
|
|||||||
|
|
||||||
{pattern} is a Vim search pattern. Instead of
|
{pattern} is a Vim search pattern. Instead of
|
||||||
enclosing it in / any non-ID character (see
|
enclosing it in / any non-ID character (see
|
||||||
|'isident'|) can be used, so long as it does not
|
'isident') can be used, so long as it does not appear
|
||||||
appear in {pattern}.
|
in {pattern}.
|
||||||
'ignorecase' applies. To overrule it put |/\c| in the
|
'ignorecase' applies. To overrule it put |/\c| in the
|
||||||
pattern to ignore case or |/\C| to match case.
|
pattern to ignore case or |/\C| to match case.
|
||||||
'smartcase' is not used.
|
'smartcase' is not used.
|
||||||
|
@@ -1384,7 +1384,7 @@ Context-sensitive completion on the command-line:
|
|||||||
------------------------------------------------------------------------------
|
------------------------------------------------------------------------------
|
||||||
*Q_fo* Folding
|
*Q_fo* Folding
|
||||||
|
|
||||||
|'foldmethod'| set foldmethod=manual manual folding
|
'foldmethod' set foldmethod=manual manual folding
|
||||||
set foldmethod=indent folding by indent
|
set foldmethod=indent folding by indent
|
||||||
set foldmethod=expr folding by 'foldexpr'
|
set foldmethod=expr folding by 'foldexpr'
|
||||||
set foldmethod=syntax folding by syntax regions
|
set foldmethod=syntax folding by syntax regions
|
||||||
|
@@ -207,7 +207,7 @@ CTRL-X s to find suggestions. This works like Insert mode completion. Use
|
|||||||
CTRL-N to use the next suggestion, CTRL-P to go back. |i_CTRL-X_s|
|
CTRL-N to use the next suggestion, CTRL-P to go back. |i_CTRL-X_s|
|
||||||
|
|
||||||
The 'spellsuggest' option influences how the list of suggestions is generated
|
The 'spellsuggest' option influences how the list of suggestions is generated
|
||||||
and sorted. See |'spellsuggest'|.
|
and sorted. See 'spellsuggest'.
|
||||||
|
|
||||||
The 'spellcapcheck' option is used to check the first word of a sentence
|
The 'spellcapcheck' option is used to check the first word of a sentence
|
||||||
starts with a capital. This doesn't work for the first word in the file.
|
starts with a capital. This doesn't work for the first word in the file.
|
||||||
|
@@ -529,7 +529,7 @@ accordingly, proceeding as follows:
|
|||||||
However, directories in 'runtimepath' ending in "after" are skipped
|
However, directories in 'runtimepath' ending in "after" are skipped
|
||||||
here and only loaded after packages, see below.
|
here and only loaded after packages, see below.
|
||||||
Loading plugins won't be done when:
|
Loading plugins won't be done when:
|
||||||
- The |'loadplugins'| option was reset in a vimrc file.
|
- The 'loadplugins' option was reset in a vimrc file.
|
||||||
- The |--noplugin| command line argument is used.
|
- The |--noplugin| command line argument is used.
|
||||||
- The |--clean| command line argument is used.
|
- The |--clean| command line argument is used.
|
||||||
- The "-u NONE" command line argument is used |-u|.
|
- The "-u NONE" command line argument is used |-u|.
|
||||||
|
@@ -1854,7 +1854,7 @@ the parentheses and backquoted parentheses. Because of the quantity of
|
|||||||
colorization levels, unlike non-rainbow highlighting, the rainbow mode
|
colorization levels, unlike non-rainbow highlighting, the rainbow mode
|
||||||
specifies its highlighting using ctermfg and guifg, thereby bypassing the
|
specifies its highlighting using ctermfg and guifg, thereby bypassing the
|
||||||
usual color scheme control using standard highlighting groups. The actual
|
usual color scheme control using standard highlighting groups. The actual
|
||||||
highlighting used depends on the dark/bright setting (see |'bg'|).
|
highlighting used depends on the dark/bright setting (see 'bg').
|
||||||
|
|
||||||
|
|
||||||
LITE *lite.vim* *ft-lite-syntax*
|
LITE *lite.vim* *ft-lite-syntax*
|
||||||
@@ -3421,7 +3421,7 @@ always accept such use of @.
|
|||||||
*tex-cchar* *tex-cole* *tex-conceal*
|
*tex-cchar* *tex-cole* *tex-conceal*
|
||||||
Tex: Taking Advantage of Conceal Mode~
|
Tex: Taking Advantage of Conceal Mode~
|
||||||
|
|
||||||
If you have |'conceallevel'| set to 2 and if your encoding is utf-8, then a
|
If you have 'conceallevel' set to 2 and if your encoding is utf-8, then a
|
||||||
number of character sequences can be translated into appropriate utf-8 glyphs,
|
number of character sequences can be translated into appropriate utf-8 glyphs,
|
||||||
including various accented characters, Greek characters in MathZones, and
|
including various accented characters, Greek characters in MathZones, and
|
||||||
superscripts and subscripts in MathZones. Not all characters can be made into
|
superscripts and subscripts in MathZones. Not all characters can be made into
|
||||||
@@ -3429,7 +3429,7 @@ superscripts or subscripts; the constraint is due to what utf-8 supports.
|
|||||||
In fact, only a few characters are supported as subscripts.
|
In fact, only a few characters are supported as subscripts.
|
||||||
|
|
||||||
One way to use this is to have vertically split windows (see |CTRL-W_v|); one
|
One way to use this is to have vertically split windows (see |CTRL-W_v|); one
|
||||||
with |'conceallevel'| at 0 and the other at 2; and both using |'scrollbind'|.
|
with 'conceallevel' at 0 and the other at 2; and both using 'scrollbind'.
|
||||||
|
|
||||||
*g:tex_conceal*
|
*g:tex_conceal*
|
||||||
Tex: Selective Conceal Mode~
|
Tex: Selective Conceal Mode~
|
||||||
|
@@ -119,7 +119,7 @@ Closing the last window of a tab page closes the tab page too, unless there is
|
|||||||
only one tab page.
|
only one tab page.
|
||||||
|
|
||||||
Using the mouse: If the tab page line is displayed you can click in the "X" at
|
Using the mouse: If the tab page line is displayed you can click in the "X" at
|
||||||
the top right to close the current tab page. A custom |'tabline'| may show
|
the top right to close the current tab page. A custom 'tabline' may show
|
||||||
something else.
|
something else.
|
||||||
|
|
||||||
*:tabc* *:tabclose*
|
*:tabc* *:tabclose*
|
||||||
@@ -182,7 +182,7 @@ SWITCHING TO ANOTHER TAB PAGE:
|
|||||||
|
|
||||||
Using the mouse: If the tab page line is displayed you can click in a tab page
|
Using the mouse: If the tab page line is displayed you can click in a tab page
|
||||||
label to switch to that tab page. Click where there is no label to go to the
|
label to switch to that tab page. Click where there is no label to go to the
|
||||||
next tab page. |'tabline'|
|
next tab page. 'tabline'
|
||||||
|
|
||||||
:tabn[ext] *:tabn* *:tabnext* *gt*
|
:tabn[ext] *:tabn* *:tabnext* *gt*
|
||||||
<C-PageDown> *CTRL-<PageDown>* *<C-PageDown>*
|
<C-PageDown> *CTRL-<PageDown>* *<C-PageDown>*
|
||||||
|
@@ -345,7 +345,7 @@ This function can then be called with: >
|
|||||||
< Here GetDict() gets the range but method() does not.
|
< Here GetDict() gets the range but method() does not.
|
||||||
|
|
||||||
*E132*
|
*E132*
|
||||||
The recursiveness of user functions is restricted with the |'maxfuncdepth'|
|
The recursiveness of user functions is restricted with the 'maxfuncdepth'
|
||||||
option.
|
option.
|
||||||
|
|
||||||
It is also possible to use `:eval`. It does not support a range, but does
|
It is also possible to use `:eval`. It does not support a range, but does
|
||||||
|
@@ -29,7 +29,7 @@ CTRL-L Clears and redraws the screen. The redraw may happen
|
|||||||
screen if "!" is included. To CLEAR the screen use
|
screen if "!" is included. To CLEAR the screen use
|
||||||
|:mode| or |CTRL-L|.
|
|:mode| or |CTRL-L|.
|
||||||
It can be used to redraw the screen in a script
|
It can be used to redraw the screen in a script
|
||||||
or function (or a mapping if |'lazyredraw'| is set).
|
or function (or a mapping if 'lazyredraw' is set).
|
||||||
See also |nvim__redraw()|.
|
See also |nvim__redraw()|.
|
||||||
|
|
||||||
*:redraws* *:redrawstatus*
|
*:redraws* *:redrawstatus*
|
||||||
@@ -409,7 +409,7 @@ gx Opens the current filepath or URL (decided by
|
|||||||
to lines that do NOT match {pattern}.
|
to lines that do NOT match {pattern}.
|
||||||
|
|
||||||
{pattern} is a Vim search pattern. Instead of enclosing
|
{pattern} is a Vim search pattern. Instead of enclosing
|
||||||
it in / any non-ID character (see |'isident'|) can be
|
it in / any non-ID character (see 'isident') can be
|
||||||
used, so long as it does not appear in {pattern}.
|
used, so long as it does not appear in {pattern}.
|
||||||
Without the enclosing character the pattern cannot
|
Without the enclosing character the pattern cannot
|
||||||
include the bar character. 'ignorecase' is not used.
|
include the bar character. 'ignorecase' is not used.
|
||||||
|
@@ -93,8 +93,8 @@ Syntax highlighting. |:syntax|
|
|||||||
this is using a |:colorscheme| command.
|
this is using a |:colorscheme| command.
|
||||||
The highlighted text can be exported as HTML. |convert-to-HTML|
|
The highlighted text can be exported as HTML. |convert-to-HTML|
|
||||||
Other items that can be highlighted are matches with the search string
|
Other items that can be highlighted are matches with the search string
|
||||||
|'hlsearch'|, matching parens |matchparen| and the cursor line and
|
'hlsearch', matching parens |matchparen| and the cursor line and
|
||||||
column |'cursorline'| |'cursorcolumn'|.
|
column 'cursorline' 'cursorcolumn'.
|
||||||
|
|
||||||
Spell checking. |spell|
|
Spell checking. |spell|
|
||||||
When the 'spell' option is set Vim will highlight spelling mistakes.
|
When the 'spell' option is set Vim will highlight spelling mistakes.
|
||||||
@@ -233,7 +233,7 @@ Insert-mode completion. |ins-completion|
|
|||||||
|i_CTRL-X_CTRL-R| contents from registers
|
|i_CTRL-X_CTRL-R| contents from registers
|
||||||
etc.
|
etc.
|
||||||
|
|
||||||
Long line support. |'wrap'| |'linebreak'|
|
Long line support. 'wrap' 'linebreak'
|
||||||
If the 'wrap' option is off, long lines will not wrap and only part
|
If the 'wrap' option is off, long lines will not wrap and only part
|
||||||
of them will be shown. When the cursor is moved to a part that is not
|
of them will be shown. When the cursor is moved to a part that is not
|
||||||
shown, the screen will scroll horizontally. The minimum number of
|
shown, the screen will scroll horizontally. The minimum number of
|
||||||
@@ -286,7 +286,7 @@ Finding matches in files. |:vimgrep|
|
|||||||
advanced Vim regexp pattern, works on all systems and also works to
|
advanced Vim regexp pattern, works on all systems and also works to
|
||||||
search in compressed files.
|
search in compressed files.
|
||||||
|
|
||||||
Improved indenting for programs. |'cindent'|
|
Improved indenting for programs. 'cindent'
|
||||||
When the 'cindent' option is on the indent of each line is
|
When the 'cindent' option is on the indent of each line is
|
||||||
automatically adjusted. C syntax is mostly recognized. The indent
|
automatically adjusted. C syntax is mostly recognized. The indent
|
||||||
for various styles can be set with 'cinoptions'. The keys to trigger
|
for various styles can be set with 'cinoptions'. The keys to trigger
|
||||||
@@ -355,7 +355,7 @@ Editing binary files. |edit-binary|
|
|||||||
executable file, without corrupting it. Vim doesn't remove NUL
|
executable file, without corrupting it. Vim doesn't remove NUL
|
||||||
characters (they are represented as <NL> internally).
|
characters (they are represented as <NL> internally).
|
||||||
|-b| command-line argument to start editing a binary file
|
|-b| command-line argument to start editing a binary file
|
||||||
|'binary'| Option set by |-b|. Prevents adding an <EOL> for the
|
'binary' Option set by |-b|. Prevents adding an <EOL> for the
|
||||||
last line in the file.
|
last line in the file.
|
||||||
|
|
||||||
Multi-language support. |multi-lang|
|
Multi-language support. |multi-lang|
|
||||||
|
@@ -22,11 +22,11 @@ or use one of the Vietnamese keymaps included in the Vim distribution, like
|
|||||||
below >
|
below >
|
||||||
:set keymap=vietnamese-telex_utf-8
|
:set keymap=vietnamese-telex_utf-8
|
||||||
<
|
<
|
||||||
See |'keymap'| for more information.
|
See 'keymap' for more information.
|
||||||
|
|
||||||
In the latter case, you can type Vietnamese even if you do not have a
|
In the latter case, you can type Vietnamese even if you do not have a
|
||||||
Vietnamese input method engine (IME) or you want Vim to be independent from a
|
Vietnamese input method engine (IME) or you want Vim to be independent from a
|
||||||
system-wide keyboard settings (when |'imdisable'| is set). You can also |:map|
|
system-wide keyboard settings (when 'imdisable' is set). You can also |:map|
|
||||||
a key to switch between keyboards.
|
a key to switch between keyboards.
|
||||||
|
|
||||||
Vim comes with the following Vietnamese keymaps:
|
Vim comes with the following Vietnamese keymaps:
|
||||||
|
@@ -3449,13 +3449,13 @@ getcompletion({pat}, {type} [, {filtered}]) *getcompletion()*
|
|||||||
customlist,{func} custom completion, defined via {func}
|
customlist,{func} custom completion, defined via {func}
|
||||||
diff_buffer |:diffget| and |:diffput| completion
|
diff_buffer |:diffget| and |:diffput| completion
|
||||||
dir directory names
|
dir directory names
|
||||||
dir_in_path directory names in |'cdpath'|
|
dir_in_path directory names in 'cdpath'
|
||||||
environment environment variable names
|
environment environment variable names
|
||||||
event autocommand events
|
event autocommand events
|
||||||
expression Vim expression
|
expression Vim expression
|
||||||
file file and directory names
|
file file and directory names
|
||||||
file_in_path file and directory names in |'path'|
|
file_in_path file and directory names in 'path'
|
||||||
filetype filetype names |'filetype'|
|
filetype filetype names 'filetype'
|
||||||
filetypecmd |:filetype| suboptions
|
filetypecmd |:filetype| suboptions
|
||||||
function function name
|
function function name
|
||||||
help help subjects
|
help help subjects
|
||||||
@@ -3475,7 +3475,7 @@ getcompletion({pat}, {type} [, {filtered}]) *getcompletion()*
|
|||||||
shellcmd Shell command
|
shellcmd Shell command
|
||||||
shellcmdline Shell command line with filename arguments
|
shellcmdline Shell command line with filename arguments
|
||||||
sign |:sign| suboptions
|
sign |:sign| suboptions
|
||||||
syntax syntax file names |'syntax'|
|
syntax syntax file names 'syntax'
|
||||||
syntime |:syntime| suboptions
|
syntime |:syntime| suboptions
|
||||||
tag tags
|
tag tags
|
||||||
tag_listfiles tags, file names
|
tag_listfiles tags, file names
|
||||||
@@ -10766,7 +10766,7 @@ strridx({haystack}, {needle} [, {start}]) *strridx()*
|
|||||||
|
|
||||||
strtrans({string}) *strtrans()*
|
strtrans({string}) *strtrans()*
|
||||||
The result is a String, which is {string} with all unprintable
|
The result is a String, which is {string} with all unprintable
|
||||||
characters translated into printable characters |'isprint'|.
|
characters translated into printable characters 'isprint'.
|
||||||
Like they are shown in a window. Example: >vim
|
Like they are shown in a window. Example: >vim
|
||||||
echo strtrans(@a)
|
echo strtrans(@a)
|
||||||
< This displays a newline in register a as "^@" instead of
|
< This displays a newline in register a as "^@" instead of
|
||||||
@@ -11308,7 +11308,7 @@ taglist({expr} [, {filename}]) *taglist()*
|
|||||||
Refer to |tag-regexp| for more information about the tag
|
Refer to |tag-regexp| for more information about the tag
|
||||||
search regular expression pattern.
|
search regular expression pattern.
|
||||||
|
|
||||||
Refer to |'tags'| for information about how the tags file is
|
Refer to 'tags' for information about how the tags file is
|
||||||
located by Vim. Refer to |tags-file-format| for the format of
|
located by Vim. Refer to |tags-file-format| for the format of
|
||||||
the tags file generated by the different ctags tools.
|
the tags file generated by the different ctags tools.
|
||||||
|
|
||||||
@@ -11762,7 +11762,7 @@ virtcol({expr} [, {list} [, {winid}]]) *virtcol()*
|
|||||||
last character. When "off" is omitted zero is used. When
|
last character. When "off" is omitted zero is used. When
|
||||||
Virtual editing is active in the current mode, a position
|
Virtual editing is active in the current mode, a position
|
||||||
beyond the end of the line can be returned. Also see
|
beyond the end of the line can be returned. Also see
|
||||||
|'virtualedit'|
|
'virtualedit'
|
||||||
|
|
||||||
If {list} is present and non-zero then virtcol() returns a
|
If {list} is present and non-zero then virtcol() returns a
|
||||||
List with the first and last screen position occupied by the
|
List with the first and last screen position occupied by the
|
||||||
|
49
runtime/lua/vim/_meta/options.lua
generated
49
runtime/lua/vim/_meta/options.lua
generated
@@ -648,7 +648,7 @@ vim.bo.bl = vim.bo.buflisted
|
|||||||
--- "nofile" and "nowrite" buffers are similar:
|
--- "nofile" and "nowrite" buffers are similar:
|
||||||
--- both: The buffer is not to be written to disk, ":w" doesn't
|
--- both: The buffer is not to be written to disk, ":w" doesn't
|
||||||
--- work (":w filename" does work though).
|
--- work (":w filename" does work though).
|
||||||
--- both: The buffer is never considered to be `'modified'`.
|
--- both: The buffer is never considered to be 'modified'.
|
||||||
--- There is no warning when the changes will be lost, for
|
--- There is no warning when the changes will be lost, for
|
||||||
--- example when you quit Vim.
|
--- example when you quit Vim.
|
||||||
--- both: A swap file is only created when using too much memory
|
--- both: A swap file is only created when using too much memory
|
||||||
@@ -714,7 +714,7 @@ vim.go.cdh = vim.go.cdhome
|
|||||||
--- searched for has a relative path, not an absolute part starting with
|
--- searched for has a relative path, not an absolute part starting with
|
||||||
--- "/", "./" or "../", the 'cdpath' option is not used then.
|
--- "/", "./" or "../", the 'cdpath' option is not used then.
|
||||||
--- The 'cdpath' option's value has the same form and semantics as
|
--- The 'cdpath' option's value has the same form and semantics as
|
||||||
--- `'path'`. Also see `file-searching`.
|
--- 'path'. Also see `file-searching`.
|
||||||
--- The default value is taken from $CDPATH, with a "," prepended to look
|
--- The default value is taken from $CDPATH, with a "," prepended to look
|
||||||
--- in the current directory first.
|
--- in the current directory first.
|
||||||
--- If the default value taken from $CDPATH is not what you want, include
|
--- If the default value taken from $CDPATH is not what you want, include
|
||||||
@@ -1149,7 +1149,7 @@ vim.go.cia = vim.go.completeitemalign
|
|||||||
--- controls how completion candidates are reduced from the
|
--- controls how completion candidates are reduced from the
|
||||||
--- list of alternatives. If you want to use `fuzzy-matching`
|
--- list of alternatives. If you want to use `fuzzy-matching`
|
||||||
--- to gather more alternatives for your candidate list,
|
--- to gather more alternatives for your candidate list,
|
||||||
--- see `'completefuzzycollect'`.
|
--- see 'completefuzzycollect'.
|
||||||
---
|
---
|
||||||
--- longest Only insert the longest common text of the matches. If
|
--- longest Only insert the longest common text of the matches. If
|
||||||
--- the menu is displayed you can use CTRL-L to add more
|
--- the menu is displayed you can use CTRL-L to add more
|
||||||
@@ -1293,7 +1293,7 @@ vim.go.cf = vim.go.confirm
|
|||||||
|
|
||||||
--- Copy the structure of the existing lines indent when autoindenting a
|
--- Copy the structure of the existing lines indent when autoindenting a
|
||||||
--- new line. Normally the new indent is reconstructed by a series of
|
--- new line. Normally the new indent is reconstructed by a series of
|
||||||
--- tabs followed by spaces as required (unless `'expandtab'` is enabled,
|
--- tabs followed by spaces as required (unless 'expandtab' is enabled,
|
||||||
--- in which case only spaces are used). Enabling this option makes the
|
--- in which case only spaces are used). Enabling this option makes the
|
||||||
--- new line copy whatever characters were used for indenting on the
|
--- new line copy whatever characters were used for indenting on the
|
||||||
--- existing line. 'expandtab' has no effect on these characters, a Tab
|
--- existing line. 'expandtab' has no effect on these characters, a Tab
|
||||||
@@ -1409,7 +1409,7 @@ vim.bo.ci = vim.bo.copyindent
|
|||||||
--- *cpo-m*
|
--- *cpo-m*
|
||||||
--- m When included, a showmatch will always wait half a
|
--- m When included, a showmatch will always wait half a
|
||||||
--- second. When not included, a showmatch will wait half
|
--- second. When not included, a showmatch will wait half
|
||||||
--- a second or until a character is typed. `'showmatch'`
|
--- a second or until a character is typed. 'showmatch'
|
||||||
--- *cpo-M*
|
--- *cpo-M*
|
||||||
--- M When excluded, "%" matching will take backslashes into
|
--- M When excluded, "%" matching will take backslashes into
|
||||||
--- account. Thus in "( \( )" and "\( ( \)" the outer
|
--- account. Thus in "( \( )" and "\( ( \)" the outer
|
||||||
@@ -4045,8 +4045,7 @@ vim.o.lisp = false
|
|||||||
vim.bo.lisp = vim.o.lisp
|
vim.bo.lisp = vim.o.lisp
|
||||||
|
|
||||||
--- Comma-separated list of items that influence the Lisp indenting when
|
--- Comma-separated list of items that influence the Lisp indenting when
|
||||||
--- enabled with the `'lisp'` option. Currently only one item is
|
--- enabled with the 'lisp' option. Currently only one item is supported:
|
||||||
--- supported:
|
|
||||||
--- expr:1 use 'indentexpr' for Lisp indenting when it is set
|
--- expr:1 use 'indentexpr' for Lisp indenting when it is set
|
||||||
--- expr:0 do not use 'indentexpr' for Lisp indenting (default)
|
--- expr:0 do not use 'indentexpr' for Lisp indenting (default)
|
||||||
--- Note that when using 'indentexpr' the `=` operator indents all the
|
--- Note that when using 'indentexpr' the `=` operator indents all the
|
||||||
@@ -4059,7 +4058,7 @@ vim.bo.lispoptions = vim.o.lispoptions
|
|||||||
vim.bo.lop = vim.bo.lispoptions
|
vim.bo.lop = vim.bo.lispoptions
|
||||||
|
|
||||||
--- Comma-separated list of words that influence the Lisp indenting when
|
--- Comma-separated list of words that influence the Lisp indenting when
|
||||||
--- enabled with the `'lisp'` option.
|
--- enabled with the 'lisp' option.
|
||||||
---
|
---
|
||||||
--- @type string
|
--- @type string
|
||||||
vim.o.lispwords = "defun,define,defmacro,set!,lambda,if,case,let,flet,let*,letrec,do,do*,define-syntax,let-syntax,letrec-syntax,destructuring-bind,defpackage,defparameter,defstruct,deftype,defvar,do-all-symbols,do-external-symbols,do-symbols,dolist,dotimes,ecase,etypecase,eval-when,labels,macrolet,multiple-value-bind,multiple-value-call,multiple-value-prog1,multiple-value-setq,prog1,progv,typecase,unless,unwind-protect,when,with-input-from-string,with-open-file,with-open-stream,with-output-to-string,with-package-iterator,define-condition,handler-bind,handler-case,restart-bind,restart-case,with-simple-restart,store-value,use-value,muffle-warning,abort,continue,with-slots,with-slots*,with-accessors,with-accessors*,defclass,defmethod,print-unreadable-object"
|
vim.o.lispwords = "defun,define,defmacro,set!,lambda,if,case,let,flet,let*,letrec,do,do*,define-syntax,let-syntax,letrec-syntax,destructuring-bind,defpackage,defparameter,defstruct,deftype,defvar,do-all-symbols,do-external-symbols,do-symbols,dolist,dotimes,ecase,etypecase,eval-when,labels,macrolet,multiple-value-bind,multiple-value-call,multiple-value-prog1,multiple-value-setq,prog1,progv,typecase,unless,unwind-protect,when,with-input-from-string,with-open-file,with-open-stream,with-output-to-string,with-package-iterator,define-condition,handler-bind,handler-case,restart-bind,restart-case,with-simple-restart,store-value,use-value,muffle-warning,abort,continue,with-slots,with-slots*,with-accessors,with-accessors*,defclass,defmethod,print-unreadable-object"
|
||||||
@@ -5002,7 +5001,7 @@ vim.go.pa = vim.go.path
|
|||||||
|
|
||||||
--- When changing the indent of the current line, preserve as much of the
|
--- When changing the indent of the current line, preserve as much of the
|
||||||
--- indent structure as possible. Normally the indent is replaced by a
|
--- indent structure as possible. Normally the indent is replaced by a
|
||||||
--- series of tabs followed by spaces as required (unless `'expandtab'` is
|
--- series of tabs followed by spaces as required (unless 'expandtab' is
|
||||||
--- enabled, in which case only spaces are used). Enabling this option
|
--- enabled, in which case only spaces are used). Enabling this option
|
||||||
--- means the indent will preserve as many existing characters as possible
|
--- means the indent will preserve as many existing characters as possible
|
||||||
--- for indenting, and only add additional tabs or spaces as required.
|
--- for indenting, and only add additional tabs or spaces as required.
|
||||||
@@ -5454,7 +5453,7 @@ vim.bo.scbk = vim.bo.scrollback
|
|||||||
--- current window also scrolls other scrollbind windows (windows that
|
--- current window also scrolls other scrollbind windows (windows that
|
||||||
--- also have this option set). This option is useful for viewing the
|
--- also have this option set). This option is useful for viewing the
|
||||||
--- differences between two versions of a file, see 'diff'.
|
--- differences between two versions of a file, see 'diff'.
|
||||||
--- See `'scrollopt'` for options that determine how this option should be
|
--- See 'scrollopt' for options that determine how this option should be
|
||||||
--- interpreted.
|
--- interpreted.
|
||||||
--- This option is mostly reset when splitting a window to edit another
|
--- This option is mostly reset when splitting a window to edit another
|
||||||
--- file. This means that ":split | edit file" results in two windows
|
--- file. This means that ":split | edit file" results in two windows
|
||||||
@@ -6007,7 +6006,7 @@ vim.go.shiftround = vim.o.shiftround
|
|||||||
vim.go.sr = vim.go.shiftround
|
vim.go.sr = vim.go.shiftround
|
||||||
|
|
||||||
--- Number of columns that make up one level of (auto)indentation. Used
|
--- Number of columns that make up one level of (auto)indentation. Used
|
||||||
--- by `'cindent'`, `<<`, `>>`, etc.
|
--- by 'cindent', `<<`, `>>`, etc.
|
||||||
--- If set to 0, Vim uses the current 'tabstop' value. Use `shiftwidth()`
|
--- If set to 0, Vim uses the current 'tabstop' value. Use `shiftwidth()`
|
||||||
--- to obtain the effective value in scripts.
|
--- to obtain the effective value in scripts.
|
||||||
---
|
---
|
||||||
@@ -6222,7 +6221,7 @@ vim.go.ss = vim.go.sidescroll
|
|||||||
|
|
||||||
--- The minimal number of screen columns to keep to the left and to the
|
--- The minimal number of screen columns to keep to the left and to the
|
||||||
--- right of the cursor if 'nowrap' is set. Setting this option to a
|
--- right of the cursor if 'nowrap' is set. Setting this option to a
|
||||||
--- value greater than 0 while having `'sidescroll'` also at a non-zero
|
--- value greater than 0 while having 'sidescroll' also at a non-zero
|
||||||
--- value makes some context visible in the line you are scrolling in
|
--- value makes some context visible in the line you are scrolling in
|
||||||
--- horizontally (except at beginning of the line). Setting this option
|
--- horizontally (except at beginning of the line). Setting this option
|
||||||
--- to a large value (like 999) has the effect of keeping the cursor
|
--- to a large value (like 999) has the effect of keeping the cursor
|
||||||
@@ -6236,9 +6235,9 @@ vim.go.ss = vim.go.sidescroll
|
|||||||
--- setlocal sidescrolloff=-1
|
--- setlocal sidescrolloff=-1
|
||||||
--- ```
|
--- ```
|
||||||
---
|
---
|
||||||
--- Example: Try this together with 'sidescroll' and 'listchars' as
|
--- Example: Try this together with 'sidescroll' and 'listchars' as in the
|
||||||
--- in the following example to never allow the cursor to move
|
--- following example to never allow the cursor to move onto the
|
||||||
--- onto the "extends" character:
|
--- "extends" character:
|
||||||
---
|
---
|
||||||
--- ```vim
|
--- ```vim
|
||||||
---
|
---
|
||||||
@@ -6366,8 +6365,8 @@ vim.wo.sms = vim.wo.smoothscroll
|
|||||||
--- enabled. See also `ins-expandtab` ans user manual section `30.5` for
|
--- enabled. See also `ins-expandtab` ans user manual section `30.5` for
|
||||||
--- in-depth explanations.
|
--- in-depth explanations.
|
||||||
---
|
---
|
||||||
--- The value of 'softtabstop' will be ignored if `'varsofttabstop'` is set
|
--- The value of 'softtabstop' will be ignored if 'varsofttabstop' is set to
|
||||||
--- to anything other than an empty string.
|
--- anything other than an empty string.
|
||||||
---
|
---
|
||||||
--- @type integer
|
--- @type integer
|
||||||
vim.o.softtabstop = 0
|
vim.o.softtabstop = 0
|
||||||
@@ -6629,8 +6628,8 @@ vim.go.sol = vim.go.startofline
|
|||||||
--- %C fold column for currently drawn line
|
--- %C fold column for currently drawn line
|
||||||
---
|
---
|
||||||
--- The 'statuscolumn' width follows that of the default columns and
|
--- The 'statuscolumn' width follows that of the default columns and
|
||||||
--- adapts to the `'numberwidth'`, `'signcolumn'` and `'foldcolumn'` option
|
--- adapts to the 'numberwidth', 'signcolumn' and 'foldcolumn' option values
|
||||||
--- values (regardless of whether the sign and fold items are present).
|
--- (regardless of whether the sign and fold items are present).
|
||||||
--- Additionally, the 'statuscolumn' grows with the size of the evaluated
|
--- Additionally, the 'statuscolumn' grows with the size of the evaluated
|
||||||
--- format string, up to a point (following the maximum size of the default
|
--- format string, up to a point (following the maximum size of the default
|
||||||
--- fold, sign and number columns). Shrinking only happens when the number
|
--- fold, sign and number columns). Shrinking only happens when the number
|
||||||
@@ -6643,7 +6642,7 @@ vim.go.sol = vim.go.startofline
|
|||||||
--- drawing the wrapped part of a buffer line.
|
--- drawing the wrapped part of a buffer line.
|
||||||
---
|
---
|
||||||
--- When using `v:relnum`, keep in mind that cursor movement by itself will
|
--- When using `v:relnum`, keep in mind that cursor movement by itself will
|
||||||
--- not cause the 'statuscolumn' to update unless `'relativenumber'` is set.
|
--- not cause the 'statuscolumn' to update unless 'relativenumber' is set.
|
||||||
---
|
---
|
||||||
--- NOTE: The %@ click execute function item is supported as well but the
|
--- NOTE: The %@ click execute function item is supported as well but the
|
||||||
--- specified function will be the same for each row in the same column.
|
--- specified function will be the same for each row in the same column.
|
||||||
@@ -6964,7 +6963,7 @@ vim.bo.sua = vim.bo.suffixesadd
|
|||||||
--- Careful: All text will be in memory:
|
--- Careful: All text will be in memory:
|
||||||
--- - Don't use this for big files.
|
--- - Don't use this for big files.
|
||||||
--- - Recovery will be impossible!
|
--- - Recovery will be impossible!
|
||||||
--- A swapfile will only be present when `'updatecount'` is non-zero and
|
--- A swapfile will only be present when 'updatecount' is non-zero and
|
||||||
--- 'swapfile' is set.
|
--- 'swapfile' is set.
|
||||||
--- When 'swapfile' is reset, the swap file for the current buffer is
|
--- When 'swapfile' is reset, the swap file for the current buffer is
|
||||||
--- immediately deleted. When 'swapfile' is set, and 'updatecount' is
|
--- immediately deleted. When 'swapfile' is set, and 'updatecount' is
|
||||||
@@ -7124,7 +7123,7 @@ vim.go.tpm = vim.go.tabpagemax
|
|||||||
--- character (ASCII 9); a Horizontal Tab always advances to the next tab
|
--- character (ASCII 9); a Horizontal Tab always advances to the next tab
|
||||||
--- stop.
|
--- stop.
|
||||||
--- The value must be at least 1 and at most 9999.
|
--- The value must be at least 1 and at most 9999.
|
||||||
--- If `'vartabstop'` is set, this option is ignored.
|
--- If 'vartabstop' is set, this option is ignored.
|
||||||
--- Leave it at 8 unless you have a strong reason (see usr `30.5`).
|
--- Leave it at 8 unless you have a strong reason (see usr `30.5`).
|
||||||
---
|
---
|
||||||
--- @type integer
|
--- @type integer
|
||||||
@@ -7622,12 +7621,12 @@ vim.go.ur = vim.go.undoreload
|
|||||||
--- recovery `crash-recovery`). 'updatecount' is set to zero by starting
|
--- recovery `crash-recovery`). 'updatecount' is set to zero by starting
|
||||||
--- Vim with the "-n" option, see `startup`. When editing in readonly
|
--- Vim with the "-n" option, see `startup`. When editing in readonly
|
||||||
--- mode this option will be initialized to 10000.
|
--- mode this option will be initialized to 10000.
|
||||||
--- The swapfile can be disabled per buffer with `'swapfile'`.
|
--- The swapfile can be disabled per buffer with 'swapfile'.
|
||||||
--- When 'updatecount' is set from zero to non-zero, swap files are
|
--- When 'updatecount' is set from zero to non-zero, swap files are
|
||||||
--- created for all buffers that have 'swapfile' set. When 'updatecount'
|
--- created for all buffers that have 'swapfile' set. When 'updatecount'
|
||||||
--- is set to zero, existing swap files are not deleted.
|
--- is set to zero, existing swap files are not deleted.
|
||||||
--- This option has no meaning in buffers where `'buftype'` is "nofile"
|
--- This option has no meaning in buffers where 'buftype' is "nofile" or
|
||||||
--- or "nowrite".
|
--- "nowrite".
|
||||||
---
|
---
|
||||||
--- @type integer
|
--- @type integer
|
||||||
vim.o.updatecount = 200
|
vim.o.updatecount = 200
|
||||||
|
14
runtime/lua/vim/_meta/vimfn.lua
generated
14
runtime/lua/vim/_meta/vimfn.lua
generated
@@ -3093,13 +3093,13 @@ function vim.fn.getcmdwintype() end
|
|||||||
--- customlist,{func} custom completion, defined via {func}
|
--- customlist,{func} custom completion, defined via {func}
|
||||||
--- diff_buffer |:diffget| and |:diffput| completion
|
--- diff_buffer |:diffget| and |:diffput| completion
|
||||||
--- dir directory names
|
--- dir directory names
|
||||||
--- dir_in_path directory names in |'cdpath'|
|
--- dir_in_path directory names in 'cdpath'
|
||||||
--- environment environment variable names
|
--- environment environment variable names
|
||||||
--- event autocommand events
|
--- event autocommand events
|
||||||
--- expression Vim expression
|
--- expression Vim expression
|
||||||
--- file file and directory names
|
--- file file and directory names
|
||||||
--- file_in_path file and directory names in |'path'|
|
--- file_in_path file and directory names in 'path'
|
||||||
--- filetype filetype names |'filetype'|
|
--- filetype filetype names 'filetype'
|
||||||
--- filetypecmd |:filetype| suboptions
|
--- filetypecmd |:filetype| suboptions
|
||||||
--- function function name
|
--- function function name
|
||||||
--- help help subjects
|
--- help help subjects
|
||||||
@@ -3119,7 +3119,7 @@ function vim.fn.getcmdwintype() end
|
|||||||
--- shellcmd Shell command
|
--- shellcmd Shell command
|
||||||
--- shellcmdline Shell command line with filename arguments
|
--- shellcmdline Shell command line with filename arguments
|
||||||
--- sign |:sign| suboptions
|
--- sign |:sign| suboptions
|
||||||
--- syntax syntax file names |'syntax'|
|
--- syntax syntax file names 'syntax'
|
||||||
--- syntime |:syntime| suboptions
|
--- syntime |:syntime| suboptions
|
||||||
--- tag tags
|
--- tag tags
|
||||||
--- tag_listfiles tags, file names
|
--- tag_listfiles tags, file names
|
||||||
@@ -9816,7 +9816,7 @@ function vim.fn.strptime(format, timestring) end
|
|||||||
function vim.fn.strridx(haystack, needle, start) end
|
function vim.fn.strridx(haystack, needle, start) end
|
||||||
|
|
||||||
--- The result is a String, which is {string} with all unprintable
|
--- The result is a String, which is {string} with all unprintable
|
||||||
--- characters translated into printable characters |'isprint'|.
|
--- characters translated into printable characters 'isprint'.
|
||||||
--- Like they are shown in a window. Example: >vim
|
--- Like they are shown in a window. Example: >vim
|
||||||
--- echo strtrans(\@a)
|
--- echo strtrans(\@a)
|
||||||
--- <This displays a newline in register a as "^\@" instead of
|
--- <This displays a newline in register a as "^\@" instead of
|
||||||
@@ -10310,7 +10310,7 @@ function vim.fn.tagfiles() end
|
|||||||
--- Refer to |tag-regexp| for more information about the tag
|
--- Refer to |tag-regexp| for more information about the tag
|
||||||
--- search regular expression pattern.
|
--- search regular expression pattern.
|
||||||
---
|
---
|
||||||
--- Refer to |'tags'| for information about how the tags file is
|
--- Refer to 'tags' for information about how the tags file is
|
||||||
--- located by Vim. Refer to |tags-file-format| for the format of
|
--- located by Vim. Refer to |tags-file-format| for the format of
|
||||||
--- the tags file generated by the different ctags tools.
|
--- the tags file generated by the different ctags tools.
|
||||||
---
|
---
|
||||||
@@ -10707,7 +10707,7 @@ function vim.fn.values(dict) end
|
|||||||
--- last character. When "off" is omitted zero is used. When
|
--- last character. When "off" is omitted zero is used. When
|
||||||
--- Virtual editing is active in the current mode, a position
|
--- Virtual editing is active in the current mode, a position
|
||||||
--- beyond the end of the line can be returned. Also see
|
--- beyond the end of the line can be returned. Also see
|
||||||
--- |'virtualedit'|
|
--- 'virtualedit'
|
||||||
---
|
---
|
||||||
--- If {list} is present and non-zero then virtcol() returns a
|
--- If {list} is present and non-zero then virtcol() returns a
|
||||||
--- List with the first and last screen position occupied by the
|
--- List with the first and last screen position occupied by the
|
||||||
|
@@ -3881,13 +3881,13 @@ M.funcs = {
|
|||||||
customlist,{func} custom completion, defined via {func}
|
customlist,{func} custom completion, defined via {func}
|
||||||
diff_buffer |:diffget| and |:diffput| completion
|
diff_buffer |:diffget| and |:diffput| completion
|
||||||
dir directory names
|
dir directory names
|
||||||
dir_in_path directory names in |'cdpath'|
|
dir_in_path directory names in 'cdpath'
|
||||||
environment environment variable names
|
environment environment variable names
|
||||||
event autocommand events
|
event autocommand events
|
||||||
expression Vim expression
|
expression Vim expression
|
||||||
file file and directory names
|
file file and directory names
|
||||||
file_in_path file and directory names in |'path'|
|
file_in_path file and directory names in 'path'
|
||||||
filetype filetype names |'filetype'|
|
filetype filetype names 'filetype'
|
||||||
filetypecmd |:filetype| suboptions
|
filetypecmd |:filetype| suboptions
|
||||||
function function name
|
function function name
|
||||||
help help subjects
|
help help subjects
|
||||||
@@ -3907,7 +3907,7 @@ M.funcs = {
|
|||||||
shellcmd Shell command
|
shellcmd Shell command
|
||||||
shellcmdline Shell command line with filename arguments
|
shellcmdline Shell command line with filename arguments
|
||||||
sign |:sign| suboptions
|
sign |:sign| suboptions
|
||||||
syntax syntax file names |'syntax'|
|
syntax syntax file names 'syntax'
|
||||||
syntime |:syntime| suboptions
|
syntime |:syntime| suboptions
|
||||||
tag tags
|
tag tags
|
||||||
tag_listfiles tags, file names
|
tag_listfiles tags, file names
|
||||||
@@ -11829,7 +11829,7 @@ M.funcs = {
|
|||||||
base = 1,
|
base = 1,
|
||||||
desc = [=[
|
desc = [=[
|
||||||
The result is a String, which is {string} with all unprintable
|
The result is a String, which is {string} with all unprintable
|
||||||
characters translated into printable characters |'isprint'|.
|
characters translated into printable characters 'isprint'.
|
||||||
Like they are shown in a window. Example: >vim
|
Like they are shown in a window. Example: >vim
|
||||||
echo strtrans(@a)
|
echo strtrans(@a)
|
||||||
<This displays a newline in register a as "^@" instead of
|
<This displays a newline in register a as "^@" instead of
|
||||||
@@ -12426,7 +12426,7 @@ M.funcs = {
|
|||||||
Refer to |tag-regexp| for more information about the tag
|
Refer to |tag-regexp| for more information about the tag
|
||||||
search regular expression pattern.
|
search regular expression pattern.
|
||||||
|
|
||||||
Refer to |'tags'| for information about how the tags file is
|
Refer to 'tags' for information about how the tags file is
|
||||||
located by Vim. Refer to |tags-file-format| for the format of
|
located by Vim. Refer to |tags-file-format| for the format of
|
||||||
the tags file generated by the different ctags tools.
|
the tags file generated by the different ctags tools.
|
||||||
|
|
||||||
@@ -12951,7 +12951,7 @@ M.funcs = {
|
|||||||
last character. When "off" is omitted zero is used. When
|
last character. When "off" is omitted zero is used. When
|
||||||
Virtual editing is active in the current mode, a position
|
Virtual editing is active in the current mode, a position
|
||||||
beyond the end of the line can be returned. Also see
|
beyond the end of the line can be returned. Also see
|
||||||
|'virtualedit'|
|
'virtualedit'
|
||||||
|
|
||||||
If {list} is present and non-zero then virtcol() returns a
|
If {list} is present and non-zero then virtcol() returns a
|
||||||
List with the first and last screen position occupied by the
|
List with the first and last screen position occupied by the
|
||||||
|
@@ -936,7 +936,7 @@ local options = {
|
|||||||
"nofile" and "nowrite" buffers are similar:
|
"nofile" and "nowrite" buffers are similar:
|
||||||
both: The buffer is not to be written to disk, ":w" doesn't
|
both: The buffer is not to be written to disk, ":w" doesn't
|
||||||
work (":w filename" does work though).
|
work (":w filename" does work though).
|
||||||
both: The buffer is never considered to be |'modified'|.
|
both: The buffer is never considered to be 'modified'.
|
||||||
There is no warning when the changes will be lost, for
|
There is no warning when the changes will be lost, for
|
||||||
example when you quit Vim.
|
example when you quit Vim.
|
||||||
both: A swap file is only created when using too much memory
|
both: A swap file is only created when using too much memory
|
||||||
@@ -1038,7 +1038,7 @@ local options = {
|
|||||||
searched for has a relative path, not an absolute part starting with
|
searched for has a relative path, not an absolute part starting with
|
||||||
"/", "./" or "../", the 'cdpath' option is not used then.
|
"/", "./" or "../", the 'cdpath' option is not used then.
|
||||||
The 'cdpath' option's value has the same form and semantics as
|
The 'cdpath' option's value has the same form and semantics as
|
||||||
|'path'|. Also see |file-searching|.
|
'path'. Also see |file-searching|.
|
||||||
The default value is taken from $CDPATH, with a "," prepended to look
|
The default value is taken from $CDPATH, with a "," prepended to look
|
||||||
in the current directory first.
|
in the current directory first.
|
||||||
If the default value taken from $CDPATH is not what you want, include
|
If the default value taken from $CDPATH is not what you want, include
|
||||||
@@ -1622,7 +1622,7 @@ local options = {
|
|||||||
controls how completion candidates are reduced from the
|
controls how completion candidates are reduced from the
|
||||||
list of alternatives. If you want to use |fuzzy-matching|
|
list of alternatives. If you want to use |fuzzy-matching|
|
||||||
to gather more alternatives for your candidate list,
|
to gather more alternatives for your candidate list,
|
||||||
see |'completefuzzycollect'|.
|
see 'completefuzzycollect'.
|
||||||
|
|
||||||
longest Only insert the longest common text of the matches. If
|
longest Only insert the longest common text of the matches. If
|
||||||
the menu is displayed you can use CTRL-L to add more
|
the menu is displayed you can use CTRL-L to add more
|
||||||
@@ -1791,7 +1791,7 @@ local options = {
|
|||||||
desc = [=[
|
desc = [=[
|
||||||
Copy the structure of the existing lines indent when autoindenting a
|
Copy the structure of the existing lines indent when autoindenting a
|
||||||
new line. Normally the new indent is reconstructed by a series of
|
new line. Normally the new indent is reconstructed by a series of
|
||||||
tabs followed by spaces as required (unless |'expandtab'| is enabled,
|
tabs followed by spaces as required (unless 'expandtab' is enabled,
|
||||||
in which case only spaces are used). Enabling this option makes the
|
in which case only spaces are used). Enabling this option makes the
|
||||||
new line copy whatever characters were used for indenting on the
|
new line copy whatever characters were used for indenting on the
|
||||||
existing line. 'expandtab' has no effect on these characters, a Tab
|
existing line. 'expandtab' has no effect on these characters, a Tab
|
||||||
@@ -1912,7 +1912,7 @@ local options = {
|
|||||||
*cpo-m*
|
*cpo-m*
|
||||||
m When included, a showmatch will always wait half a
|
m When included, a showmatch will always wait half a
|
||||||
second. When not included, a showmatch will wait half
|
second. When not included, a showmatch will wait half
|
||||||
a second or until a character is typed. |'showmatch'|
|
a second or until a character is typed. 'showmatch'
|
||||||
*cpo-M*
|
*cpo-M*
|
||||||
M When excluded, "%" matching will take backslashes into
|
M When excluded, "%" matching will take backslashes into
|
||||||
account. Thus in "( \( )" and "\( ( \)" the outer
|
account. Thus in "( \( )" and "\( ( \)" the outer
|
||||||
@@ -5322,8 +5322,7 @@ local options = {
|
|||||||
deny_duplicates = true,
|
deny_duplicates = true,
|
||||||
desc = [=[
|
desc = [=[
|
||||||
Comma-separated list of items that influence the Lisp indenting when
|
Comma-separated list of items that influence the Lisp indenting when
|
||||||
enabled with the |'lisp'| option. Currently only one item is
|
enabled with the 'lisp' option. Currently only one item is supported:
|
||||||
supported:
|
|
||||||
expr:1 use 'indentexpr' for Lisp indenting when it is set
|
expr:1 use 'indentexpr' for Lisp indenting when it is set
|
||||||
expr:0 do not use 'indentexpr' for Lisp indenting (default)
|
expr:0 do not use 'indentexpr' for Lisp indenting (default)
|
||||||
Note that when using 'indentexpr' the `=` operator indents all the
|
Note that when using 'indentexpr' the `=` operator indents all the
|
||||||
@@ -5345,7 +5344,7 @@ local options = {
|
|||||||
deny_duplicates = true,
|
deny_duplicates = true,
|
||||||
desc = [=[
|
desc = [=[
|
||||||
Comma-separated list of words that influence the Lisp indenting when
|
Comma-separated list of words that influence the Lisp indenting when
|
||||||
enabled with the |'lisp'| option.
|
enabled with the 'lisp' option.
|
||||||
]=],
|
]=],
|
||||||
full_name = 'lispwords',
|
full_name = 'lispwords',
|
||||||
list = 'onecomma',
|
list = 'onecomma',
|
||||||
@@ -6560,7 +6559,7 @@ local options = {
|
|||||||
desc = [=[
|
desc = [=[
|
||||||
When changing the indent of the current line, preserve as much of the
|
When changing the indent of the current line, preserve as much of the
|
||||||
indent structure as possible. Normally the indent is replaced by a
|
indent structure as possible. Normally the indent is replaced by a
|
||||||
series of tabs followed by spaces as required (unless |'expandtab'| is
|
series of tabs followed by spaces as required (unless 'expandtab' is
|
||||||
enabled, in which case only spaces are used). Enabling this option
|
enabled, in which case only spaces are used). Enabling this option
|
||||||
means the indent will preserve as many existing characters as possible
|
means the indent will preserve as many existing characters as possible
|
||||||
for indenting, and only add additional tabs or spaces as required.
|
for indenting, and only add additional tabs or spaces as required.
|
||||||
@@ -7181,7 +7180,7 @@ local options = {
|
|||||||
current window also scrolls other scrollbind windows (windows that
|
current window also scrolls other scrollbind windows (windows that
|
||||||
also have this option set). This option is useful for viewing the
|
also have this option set). This option is useful for viewing the
|
||||||
differences between two versions of a file, see 'diff'.
|
differences between two versions of a file, see 'diff'.
|
||||||
See |'scrollopt'| for options that determine how this option should be
|
See 'scrollopt' for options that determine how this option should be
|
||||||
interpreted.
|
interpreted.
|
||||||
This option is mostly reset when splitting a window to edit another
|
This option is mostly reset when splitting a window to edit another
|
||||||
file. This means that ":split | edit file" results in two windows
|
file. This means that ":split | edit file" results in two windows
|
||||||
@@ -7900,7 +7899,7 @@ local options = {
|
|||||||
defaults = 8,
|
defaults = 8,
|
||||||
desc = [=[
|
desc = [=[
|
||||||
Number of columns that make up one level of (auto)indentation. Used
|
Number of columns that make up one level of (auto)indentation. Used
|
||||||
by |'cindent'|, |<<|, |>>|, etc.
|
by 'cindent', |<<|, |>>|, etc.
|
||||||
If set to 0, Vim uses the current 'tabstop' value. Use |shiftwidth()|
|
If set to 0, Vim uses the current 'tabstop' value. Use |shiftwidth()|
|
||||||
to obtain the effective value in scripts.
|
to obtain the effective value in scripts.
|
||||||
]=],
|
]=],
|
||||||
@@ -8158,7 +8157,7 @@ local options = {
|
|||||||
desc = [=[
|
desc = [=[
|
||||||
The minimal number of screen columns to keep to the left and to the
|
The minimal number of screen columns to keep to the left and to the
|
||||||
right of the cursor if 'nowrap' is set. Setting this option to a
|
right of the cursor if 'nowrap' is set. Setting this option to a
|
||||||
value greater than 0 while having |'sidescroll'| also at a non-zero
|
value greater than 0 while having 'sidescroll' also at a non-zero
|
||||||
value makes some context visible in the line you are scrolling in
|
value makes some context visible in the line you are scrolling in
|
||||||
horizontally (except at beginning of the line). Setting this option
|
horizontally (except at beginning of the line). Setting this option
|
||||||
to a large value (like 999) has the effect of keeping the cursor
|
to a large value (like 999) has the effect of keeping the cursor
|
||||||
@@ -8169,9 +8168,9 @@ local options = {
|
|||||||
setlocal sidescrolloff<
|
setlocal sidescrolloff<
|
||||||
setlocal sidescrolloff=-1
|
setlocal sidescrolloff=-1
|
||||||
<
|
<
|
||||||
Example: Try this together with 'sidescroll' and 'listchars' as
|
Example: Try this together with 'sidescroll' and 'listchars' as in the
|
||||||
in the following example to never allow the cursor to move
|
following example to never allow the cursor to move onto the
|
||||||
onto the "extends" character: >vim
|
"extends" character: >vim
|
||||||
|
|
||||||
set nowrap sidescroll=1 listchars=extends:>,precedes:<
|
set nowrap sidescroll=1 listchars=extends:>,precedes:<
|
||||||
set sidescrolloff=1
|
set sidescrolloff=1
|
||||||
@@ -8344,8 +8343,8 @@ local options = {
|
|||||||
enabled. See also |ins-expandtab| ans user manual section |30.5| for
|
enabled. See also |ins-expandtab| ans user manual section |30.5| for
|
||||||
in-depth explanations.
|
in-depth explanations.
|
||||||
|
|
||||||
The value of 'softtabstop' will be ignored if |'varsofttabstop'| is set
|
The value of 'softtabstop' will be ignored if 'varsofttabstop' is set to
|
||||||
to anything other than an empty string.
|
anything other than an empty string.
|
||||||
]=],
|
]=],
|
||||||
full_name = 'softtabstop',
|
full_name = 'softtabstop',
|
||||||
scope = { 'buf' },
|
scope = { 'buf' },
|
||||||
@@ -8675,8 +8674,8 @@ local options = {
|
|||||||
%C fold column for currently drawn line
|
%C fold column for currently drawn line
|
||||||
|
|
||||||
The 'statuscolumn' width follows that of the default columns and
|
The 'statuscolumn' width follows that of the default columns and
|
||||||
adapts to the |'numberwidth'|, |'signcolumn'| and |'foldcolumn'| option
|
adapts to the 'numberwidth', 'signcolumn' and 'foldcolumn' option values
|
||||||
values (regardless of whether the sign and fold items are present).
|
(regardless of whether the sign and fold items are present).
|
||||||
Additionally, the 'statuscolumn' grows with the size of the evaluated
|
Additionally, the 'statuscolumn' grows with the size of the evaluated
|
||||||
format string, up to a point (following the maximum size of the default
|
format string, up to a point (following the maximum size of the default
|
||||||
fold, sign and number columns). Shrinking only happens when the number
|
fold, sign and number columns). Shrinking only happens when the number
|
||||||
@@ -8689,7 +8688,7 @@ local options = {
|
|||||||
drawing the wrapped part of a buffer line.
|
drawing the wrapped part of a buffer line.
|
||||||
|
|
||||||
When using |v:relnum|, keep in mind that cursor movement by itself will
|
When using |v:relnum|, keep in mind that cursor movement by itself will
|
||||||
not cause the 'statuscolumn' to update unless |'relativenumber'| is set.
|
not cause the 'statuscolumn' to update unless 'relativenumber' is set.
|
||||||
|
|
||||||
NOTE: The %@ click execute function item is supported as well but the
|
NOTE: The %@ click execute function item is supported as well but the
|
||||||
specified function will be the same for each row in the same column.
|
specified function will be the same for each row in the same column.
|
||||||
@@ -9011,7 +9010,7 @@ local options = {
|
|||||||
Careful: All text will be in memory:
|
Careful: All text will be in memory:
|
||||||
- Don't use this for big files.
|
- Don't use this for big files.
|
||||||
- Recovery will be impossible!
|
- Recovery will be impossible!
|
||||||
A swapfile will only be present when |'updatecount'| is non-zero and
|
A swapfile will only be present when 'updatecount' is non-zero and
|
||||||
'swapfile' is set.
|
'swapfile' is set.
|
||||||
When 'swapfile' is reset, the swap file for the current buffer is
|
When 'swapfile' is reset, the swap file for the current buffer is
|
||||||
immediately deleted. When 'swapfile' is set, and 'updatecount' is
|
immediately deleted. When 'swapfile' is set, and 'updatecount' is
|
||||||
@@ -9210,7 +9209,7 @@ local options = {
|
|||||||
character (ASCII 9); a Horizontal Tab always advances to the next tab
|
character (ASCII 9); a Horizontal Tab always advances to the next tab
|
||||||
stop.
|
stop.
|
||||||
The value must be at least 1 and at most 9999.
|
The value must be at least 1 and at most 9999.
|
||||||
If |'vartabstop'| is set, this option is ignored.
|
If 'vartabstop' is set, this option is ignored.
|
||||||
Leave it at 8 unless you have a strong reason (see usr |30.5|).
|
Leave it at 8 unless you have a strong reason (see usr |30.5|).
|
||||||
]=],
|
]=],
|
||||||
full_name = 'tabstop',
|
full_name = 'tabstop',
|
||||||
@@ -9869,12 +9868,12 @@ local options = {
|
|||||||
recovery |crash-recovery|). 'updatecount' is set to zero by starting
|
recovery |crash-recovery|). 'updatecount' is set to zero by starting
|
||||||
Vim with the "-n" option, see |startup|. When editing in readonly
|
Vim with the "-n" option, see |startup|. When editing in readonly
|
||||||
mode this option will be initialized to 10000.
|
mode this option will be initialized to 10000.
|
||||||
The swapfile can be disabled per buffer with |'swapfile'|.
|
The swapfile can be disabled per buffer with 'swapfile'.
|
||||||
When 'updatecount' is set from zero to non-zero, swap files are
|
When 'updatecount' is set from zero to non-zero, swap files are
|
||||||
created for all buffers that have 'swapfile' set. When 'updatecount'
|
created for all buffers that have 'swapfile' set. When 'updatecount'
|
||||||
is set to zero, existing swap files are not deleted.
|
is set to zero, existing swap files are not deleted.
|
||||||
This option has no meaning in buffers where |'buftype'| is "nofile"
|
This option has no meaning in buffers where 'buftype' is "nofile" or
|
||||||
or "nowrite".
|
"nowrite".
|
||||||
]=],
|
]=],
|
||||||
full_name = 'updatecount',
|
full_name = 'updatecount',
|
||||||
scope = { 'global' },
|
scope = { 'global' },
|
||||||
|
Reference in New Issue
Block a user