Make the references to features in the help more consistent. (Sylvain Hitier)

This commit is contained in:
Bram Moolenaar
2010-08-15 13:50:43 +02:00
parent d04f440259
commit db84e4599c
20 changed files with 103 additions and 102 deletions

View File

@ -159,7 +159,7 @@ gR Enter Virtual Replace mode: Each character you type
<Tab> may replace several characters at once. <Tab> may replace several characters at once.
Repeat the entered text [count]-1 times. See Repeat the entered text [count]-1 times. See
|Virtual-Replace-mode| for more details. |Virtual-Replace-mode| for more details.
{not available when compiled without the +vreplace {not available when compiled without the |+vreplace|
feature} feature}
*c* *c*
@ -279,7 +279,7 @@ gr{char} Replace the virtual characters under the cursor with
space. See |gR| and |Virtual-Replace-mode| for more space. See |gR| and |Virtual-Replace-mode| for more
details. As with |r| a count may be given. details. As with |r| a count may be given.
{char} can be entered like with |r|. {char} can be entered like with |r|.
{not available when compiled without the +vreplace {not available when compiled without the |+vreplace|
feature} feature}
*digraph-arg* *digraph-arg*
@ -622,9 +622,9 @@ The flags that you can use for the substitute commands:
'a' to substitute this and all remaining matches {not in Vi} 'a' to substitute this and all remaining matches {not in Vi}
'q' to quit substituting {not in Vi} 'q' to quit substituting {not in Vi}
CTRL-E to scroll the screen up {not in Vi, not available when CTRL-E to scroll the screen up {not in Vi, not available when
compiled without the +insert_expand feature} compiled without the |+insert_expand| feature}
CTRL-Y to scroll the screen down {not in Vi, not available when CTRL-Y to scroll the screen down {not in Vi, not available when
compiled without the +insert_expand feature} compiled without the |+insert_expand| feature}
If the 'edcompatible' option is on, Vim remembers the [c] flag and If the 'edcompatible' option is on, Vim remembers the [c] flag and
toggles it each time you use it, but resets it when you give a new toggles it each time you use it, but resets it when you give a new
search pattern. search pattern.

View File

@ -182,7 +182,7 @@ CTRL-R CTRL-A *c_CTRL-R_CTRL-A* *c_<C-R>_<C-A>*
the word that was already typed is not inserted again. the word that was already typed is not inserted again.
{not in Vi} {not in Vi}
CTRL-F and CTRL-P: {only when +file_in_path feature is CTRL-F and CTRL-P: {only when |+file_in_path| feature is
included} included}
*c_CTRL-R_CTRL-R* *c_<C-R>_<C-R>* *c_CTRL-R_CTRL-R* *c_<C-R>_<C-R>*
@ -754,7 +754,7 @@ function expand() |expand()|.
#<n (where n is a number > 0) is replaced with old *:_#<* *c_#<* #<n (where n is a number > 0) is replaced with old *:_#<* *c_#<*
file name n. See |:oldfiles| or |v:oldfiles| to get the file name n. See |:oldfiles| or |v:oldfiles| to get the
number. *E809* number. *E809*
{only when compiled with the +eval and +viminfo features} {only when compiled with the |+eval| and |+viminfo| features}
Note that these, except "#<n", give the file name as it was typed. If an Note that these, except "#<n", give the file name as it was typed. If an
absolute path is needed (when using the file name from a different directory), absolute path is needed (when using the file name from a different directory),
@ -1032,7 +1032,7 @@ VARIOUS
The command-line window cannot be used: The command-line window cannot be used:
- when there already is a command-line window (no nesting) - when there already is a command-line window (no nesting)
- for entering an encryption key or when using inputsecret() - for entering an encryption key or when using inputsecret()
- when Vim was not compiled with the +vertsplit feature - when Vim was not compiled with the |+vertsplit| feature
Some options are set when the command-line window is opened: Some options are set when the command-line window is opened:
'filetype' "vim", when editing an Ex command-line; this starts Vim syntax 'filetype' "vim", when editing an Ex command-line; this starts Vim syntax

View File

@ -5,7 +5,7 @@
*diff* *vimdiff* *gvimdiff* *diff-mode* *diff* *vimdiff* *gvimdiff* *diff-mode*
This file describes the +diff feature: Showing differences between two, This file describes the |+diff| feature: Showing differences between two,
three or four versions of the same file. three or four versions of the same file.
The basics are explained in section |08.7| of the user manual. The basics are explained in section |08.7| of the user manual.

View File

@ -57,8 +57,8 @@ conversion to be available, it might fail. For the NUL character you will see
"10". That's because NUL characters are internally represented with a NL "10". That's because NUL characters are internally represented with a NL
character. When you write the file it will become a NUL character. character. When you write the file it will become a NUL character.
When Vim was compiled without the +multi_byte feature, you need to specify the When Vim was compiled without the |+multi_byte| feature, you need to specify
character in the encoding given with 'encoding'. You might want to use the character in the encoding given with 'encoding'. You might want to use
something like this: > something like this: >
if has("multi_byte") if has("multi_byte")

View File

@ -782,7 +782,7 @@ fourth file in the argument list. This happens when you do ":e file".
LOCAL ARGUMENT LIST LOCAL ARGUMENT LIST
{not in Vi} {not in Vi}
{not available when compiled without the |+windows| or |+listcmds| feature} {not available when compiled without the |+windows| or |+listcmds| features}
*:arglocal* *:arglocal*
:argl[ocal] Make a local copy of the global argument list. :argl[ocal] Make a local copy of the global argument list.

View File

@ -1170,7 +1170,7 @@ is deleted when the window is closed.
*tabpage-variable* *t:var* *tabpage-variable* *t:var*
A variable name that is preceded with "t:" is local to the current tab page, A variable name that is preceded with "t:" is local to the current tab page,
It is deleted when the tab page is closed. {not available when compiled It is deleted when the tab page is closed. {not available when compiled
without the +windows feature} without the |+windows| feature}
*global-variable* *g:var* *global-variable* *g:var*
Inside functions global variables are accessed with "g:". Omitting this will Inside functions global variables are accessed with "g:". Omitting this will
@ -1508,7 +1508,7 @@ v:oldfiles List of file names that is loaded from the |viminfo| file on
The List can be modified, but this has no effect on what is The List can be modified, but this has no effect on what is
stored in the |viminfo| file later. If you use values other stored in the |viminfo| file later. If you use values other
than String this will cause trouble. than String this will cause trouble.
{only when compiled with the +viminfo feature} {only when compiled with the |+viminfo| feature}
*v:operator* *operator-variable* *v:operator* *operator-variable*
v:operator The last operator given in Normal mode. This is a single v:operator The last operator given in Normal mode. This is a single
@ -1993,7 +1993,7 @@ acos({expr}) *acos()*
< 1.570796 > < 1.570796 >
:echo acos(-0.5) :echo acos(-0.5)
< 2.094395 < 2.094395
{only available when compiled with |+float|} {only available when compiled with the |+float| feature}
add({list}, {expr}) *add()* add({list}, {expr}) *add()*
@ -2048,7 +2048,7 @@ asin({expr}) *asin()*
< 0.927295 > < 0.927295 >
:echo asin(-0.5) :echo asin(-0.5)
< -0.523599 < -0.523599
{only available when compiled with |+float|} {only available when compiled with the |+float| feature}
atan({expr}) *atan()* atan({expr}) *atan()*
@ -2072,7 +2072,7 @@ atan2({expr1}, {expr2}) *atan2()*
< -0.785398 > < -0.785398 >
:echo atan2(1, -1) :echo atan2(1, -1)
< 2.356194 < 2.356194
{only available when compiled with |+float|} {only available when compiled with the |+float| feature}
*browse()* *browse()*
@ -2434,7 +2434,7 @@ cosh({expr}) *cosh()*
< 1.127626 > < 1.127626 >
:echo cosh(-0.5) :echo cosh(-0.5)
< -1.127626 < -1.127626
{only available when compiled with |+float|} {only available when compiled with the |+float| feature}
count({comp}, {expr} [, {ic} [, {start}]]) *count()* count({comp}, {expr} [, {ic} [, {start}]]) *count()*
@ -2705,7 +2705,7 @@ exp({expr}) *exp()*
< 7.389056 > < 7.389056 >
:echo exp(-1) :echo exp(-1)
< 0.367879 < 0.367879
{only available when compiled with |+float|} {only available when compiled with the |+float| feature}
expand({expr} [, {flag}]) *expand()* expand({expr} [, {flag}]) *expand()*
@ -2896,7 +2896,8 @@ finddir({name}[, {path}[, {count}]]) *finddir()*
{name} in {path} instead of the first one. {name} in {path} instead of the first one.
When {count} is negative return all the matches in a |List|. When {count} is negative return all the matches in a |List|.
This is quite similar to the ex-command |:find|. This is quite similar to the ex-command |:find|.
{only available when compiled with the +file_in_path feature} {only available when compiled with the |+file_in_path|
feature}
findfile({name}[, {path}[, {count}]]) *findfile()* findfile({name}[, {path}[, {count}]]) *findfile()*
Just like |finddir()|, but find a file instead of a directory. Just like |finddir()|, but find a file instead of a directory.
@ -2954,7 +2955,7 @@ fmod({expr1}, {expr2}) *fmod()*
< 0.13 > < 0.13 >
:echo fmod(-12.33, 1.22) :echo fmod(-12.33, 1.22)
< -0.13 < -0.13
{only available when compiled with |+float|} {only available when compiled with |+float| feature}
fnameescape({string}) *fnameescape()* fnameescape({string}) *fnameescape()*
@ -3618,7 +3619,7 @@ iconv({expr}, {from}, {to}) *iconv()*
< Note that Vim uses UTF-8 for all Unicode encodings, conversion < Note that Vim uses UTF-8 for all Unicode encodings, conversion
from/to UCS-2 is automatically changed to use UTF-8. You from/to UCS-2 is automatically changed to use UTF-8. You
cannot use UCS-2 in a string anyway, because of the NUL bytes. cannot use UCS-2 in a string anyway, because of the NUL bytes.
{only available when compiled with the +multi_byte feature} {only available when compiled with the |+multi_byte| feature}
*indent()* *indent()*
indent({lnum}) The result is a Number, which is indent of line {lnum} in the indent({lnum}) The result is a Number, which is indent of line {lnum} in the
@ -3927,7 +3928,7 @@ log({expr}) *log()*
< 2.302585 > < 2.302585 >
:echo log(exp(5)) :echo log(exp(5))
< 5.0 < 5.0
{only available when compiled with |+float|} {only available when compiled with the |+float| feature}
log10({expr}) *log10()* log10({expr}) *log10()*
@ -4561,7 +4562,7 @@ reltime([{start} [, {end}]]) *reltime()*
and {end}. and {end}.
The {start} and {end} arguments must be values returned by The {start} and {end} arguments must be values returned by
reltime(). reltime().
{only available when compiled with the +reltime feature} {only available when compiled with the |+reltime| feature}
reltimestr({time}) *reltimestr()* reltimestr({time}) *reltimestr()*
Return a String that represents the time value of {time}. Return a String that represents the time value of {time}.
@ -4576,7 +4577,7 @@ reltimestr({time}) *reltimestr()*
can use split() to remove it. > can use split() to remove it. >
echo split(reltimestr(reltime(start)))[0] echo split(reltimestr(reltime(start)))[0]
< Also see |profiling|. < Also see |profiling|.
{only available when compiled with the +reltime feature} {only available when compiled with the |+reltime| feature}
*remote_expr()* *E449* *remote_expr()* *E449*
remote_expr({server}, {string} [, {idvar}]) remote_expr({server}, {string} [, {idvar}])
@ -4763,7 +4764,7 @@ search({pattern} [, {flags} [, {stopline} [, {timeout}]]]) *search()*
{timeout} is 500 the search stops after half a second. {timeout} is 500 the search stops after half a second.
The value must not be negative. A zero value is like not The value must not be negative. A zero value is like not
giving the argument. giving the argument.
{only available when compiled with the +reltime feature} {only available when compiled with the |+reltime| feature}
If there is no match a 0 is returned and the cursor doesn't If there is no match a 0 is returned and the cursor doesn't
move. No error message is given. move. No error message is given.
@ -5224,7 +5225,7 @@ sinh({expr}) *sinh()*
< 0.521095 > < 0.521095 >
:echo sinh(-0.9) :echo sinh(-0.9)
< -1.026517 < -1.026517
{only available when compiled with |+float|} {only available when compiled with the |+float| feature}
sort({list} [, {func}]) *sort()* *E702* sort({list} [, {func}]) *sort()* *E702*
@ -5763,7 +5764,7 @@ tan({expr}) *tan()*
< 0.648361 > < 0.648361 >
:echo tan(-4.01) :echo tan(-4.01)
< -1.181502 < -1.181502
{only available when compiled with |+float|} {only available when compiled with the |+float| feature}
tanh({expr}) *tanh()* tanh({expr}) *tanh()*
@ -5775,7 +5776,7 @@ tanh({expr}) *tanh()*
< 0.462117 > < 0.462117 >
:echo tanh(-1) :echo tanh(-1)
< -0.761594 < -0.761594
{only available when compiled with |+float|} {only available when compiled with the |+float| feature}
tolower({expr}) *tolower()* tolower({expr}) *tolower()*

View File

@ -15,7 +15,7 @@ You can find an introduction on folding in chapter 28 of the user manual.
4. Behavior of folds |fold-behavior| 4. Behavior of folds |fold-behavior|
{Vi has no Folding} {Vi has no Folding}
{not available when compiled without the +folding feature} {not available when compiled without the |+folding| feature}
============================================================================== ==============================================================================
1. Fold methods *fold-methods* 1. Fold methods *fold-methods*

View File

@ -102,7 +102,7 @@ tag char action ~
|i_CTRL-^| CTRL-^ toggle use of |:lmap| mappings |i_CTRL-^| CTRL-^ toggle use of |:lmap| mappings
|i_CTRL-_| CTRL-_ When 'allowrevins' set: change language |i_CTRL-_| CTRL-_ When 'allowrevins' set: change language
(Hebrew, Farsi) {only when compiled with (Hebrew, Farsi) {only when compiled with
+rightleft feature} the |+rightleft| feature}
<Space> to '~' not used, except '0' and '^' followed by <Space> to '~' not used, except '0' and '^' followed by
CTRL-D CTRL-D
@ -163,7 +163,7 @@ commands in CTRL-X submode *i_CTRL-X_index*
|i_CTRL-X_CTRL-V| CTRL-X CTRL-V complete like in : command line |i_CTRL-X_CTRL-V| CTRL-X CTRL-V complete like in : command line
|i_CTRL-X_CTRL-]| CTRL-X CTRL-] complete tags |i_CTRL-X_CTRL-]| CTRL-X CTRL-] complete tags
|i_CTRL-X_s| CTRL-X s spelling suggestions |i_CTRL-X_s| CTRL-X s spelling suggestions
{not available when compiled without the +insert_expand feature} {not available when compiled without the |+insert_expand| feature}
============================================================================== ==============================================================================
2. Normal mode *normal-index* 2. Normal mode *normal-index*

View File

@ -527,7 +527,7 @@ last one). {Vi does not have the 'expandtab' option}
6. Virtual Replace mode *vreplace-mode* *Virtual-Replace-mode* 6. Virtual Replace mode *vreplace-mode* *Virtual-Replace-mode*
Enter Virtual Replace mode with the "gR" command in normal mode. Enter Virtual Replace mode with the "gR" command in normal mode.
{not available when compiled without the +vreplace feature} {not available when compiled without the |+vreplace| feature}
{Vi does not have Virtual Replace mode} {Vi does not have Virtual Replace mode}
Virtual Replace mode is similar to Replace mode, but instead of replacing Virtual Replace mode is similar to Replace mode, but instead of replacing
@ -1781,7 +1781,7 @@ NOTE: These commands cannot be used with |:global| or |:vglobal|.
or script is finished. or script is finished.
This command does not work from |:normal|. This command does not work from |:normal|.
{not in Vi} {not in Vi}
{not available when compiled without the +ex_extra {not available when compiled without the |+ex_extra|
feature} feature}
*:stopi* *:stopinsert* *:stopi* *:stopinsert*
@ -1800,14 +1800,14 @@ NOTE: These commands cannot be used with |:global| or |:vglobal|.
script that the replacement will only start after script that the replacement will only start after
the function or script is finished. the function or script is finished.
{not in Vi} {not in Vi}
{not available when compiled without the +ex_extra {not available when compiled without the |+ex_extra|
feature} feature}
*:startgreplace* *:startgreplace*
:startg[replace][!] Just like |:startreplace|, but use Virtual Replace :startg[replace][!] Just like |:startreplace|, but use Virtual Replace
mode, like with |gR|. mode, like with |gR|.
{not in Vi} {not in Vi}
{not available when compiled without the +ex_extra {not available when compiled without the |+ex_extra|
feature} feature}
============================================================================== ==============================================================================

View File

@ -770,7 +770,7 @@ g@{motion} Call the function set by the 'operatorfunc' option.
"block" {motion} was |blockwise-visual| "block" {motion} was |blockwise-visual|
Although "block" would rarely appear, since it can Although "block" would rarely appear, since it can
only result from Visual mode where "g@" is not useful. only result from Visual mode where "g@" is not useful.
{not available when compiled without the +eval {not available when compiled without the |+eval|
feature} feature}
Here is an example that counts the number of spaces with <F4>: > Here is an example that counts the number of spaces with <F4>: >
@ -1080,7 +1080,7 @@ to find out what they are defined to.
The |:scriptnames| command can be used to see which scripts have been sourced The |:scriptnames| command can be used to see which scripts have been sourced
and what their <SNR> number is. and what their <SNR> number is.
This is all {not in Vi} and {not available when compiled without the +eval This is all {not in Vi} and {not available when compiled without the |+eval|
feature}. feature}.
============================================================================== ==============================================================================

View File

@ -14,7 +14,7 @@ For an introduction to the most common features, see |usr_45.txt| in the user
manual. manual.
For changing the language of messages and menus see |mlang.txt|. For changing the language of messages and menus see |mlang.txt|.
{not available when compiled without the +multi_byte feature} {not available when compiled without the |+multi_byte| feature}
1. Getting started |mbyte-first| 1. Getting started |mbyte-first|

View File

@ -1010,7 +1010,7 @@ unless the line containing that position was changed or deleted.
*CTRL-O* *CTRL-O*
CTRL-O Go to [count] Older cursor position in jump list CTRL-O Go to [count] Older cursor position in jump list
(not a motion command). {not in Vi} (not a motion command). {not in Vi}
{not available without the +jumplist feature} {not available without the |+jumplist| feature}
<Tab> or *CTRL-I* *<Tab>* <Tab> or *CTRL-I* *<Tab>*
CTRL-I Go to [count] newer cursor position in jump list CTRL-I Go to [count] newer cursor position in jump list
@ -1018,18 +1018,18 @@ CTRL-I Go to [count] newer cursor position in jump list
In a |quickfix-window| it takes you to the position of In a |quickfix-window| it takes you to the position of
the error under the cursor. the error under the cursor.
{not in Vi} {not in Vi}
{not available without the +jumplist feature} {not available without the |+jumplist| feature}
*:ju* *:jumps* *:ju* *:jumps*
:ju[mps] Print the jump list (not a motion command). {not in :ju[mps] Print the jump list (not a motion command). {not in
Vi} {not available without the +jumplist feature} Vi} {not available without the |+jumplist| feature}
*jumplist* *jumplist*
Jumps are remembered in a jump list. With the CTRL-O and CTRL-I command you Jumps are remembered in a jump list. With the CTRL-O and CTRL-I command you
can go to cursor positions before older jumps, and back again. Thus you can can go to cursor positions before older jumps, and back again. Thus you can
move up and down the list. There is a separate jump list for each window. move up and down the list. There is a separate jump list for each window.
The maximum number of entries is fixed at 100. The maximum number of entries is fixed at 100.
{not available without the +jumplist feature} {not available without the |+jumplist| feature}
For example, after three jump commands you have this jump list: For example, after three jump commands you have this jump list:
@ -1106,14 +1106,14 @@ g; Go to [count] older position in change list.
If there is no older change an error message is given. If there is no older change an error message is given.
(not a motion command) (not a motion command)
{not in Vi} {not in Vi}
{not available without the +jumplist feature} {not available without the |+jumplist| feature}
*g,* *E663* *g,* *E663*
g, Go to [count] newer cursor position in change list. g, Go to [count] newer cursor position in change list.
Just like |g;| but in the opposite direction. Just like |g;| but in the opposite direction.
(not a motion command) (not a motion command)
{not in Vi} {not in Vi}
{not available without the +jumplist feature} {not available without the |+jumplist| feature}
When using a count you jump as far back or forward as possible. Thus you can When using a count you jump as far back or forward as possible. Thus you can
use "999g;" to go to the first change for which the position is still use "999g;" to go to the first change for which the position is still

View File

@ -137,7 +137,7 @@ A few special texts:
Last set from error handler ~ Last set from error handler ~
Option was cleared when evaluating it resulted in an error. Option was cleared when evaluating it resulted in an error.
{not available when compiled without the +eval feature} {not available when compiled without the |+eval| feature}
*:set-termcap* *E522* *:set-termcap* *E522*
For {option} the form "t_xx" may be used to set a terminal option. This will For {option} the form "t_xx" may be used to set a terminal option. This will
@ -1159,7 +1159,7 @@ A jump table for the options with a short description can be found at |Q_op|.
'breakat' 'brk' string (default " ^I!@*-+;:,./?") 'breakat' 'brk' string (default " ^I!@*-+;:,./?")
global global
{not in Vi} {not in Vi}
{not available when compiled without the |+linebreak| {not available when compiled without the |+linebreak|
feature} feature}
This option lets you choose which characters might cause a line This option lets you choose which characters might cause a line
break if 'linebreak' is on. Only works for ASCII and also for 8-bit break if 'linebreak' is on. Only works for ASCII and also for 8-bit
@ -1319,7 +1319,7 @@ A jump table for the options with a short description can be found at |Q_op|.
'charconvert' 'ccv' string (default "") 'charconvert' 'ccv' string (default "")
global global
{only available when compiled with the |+multi_byte| {only available when compiled with the |+multi_byte|
feature and the |+eval| feature} and |+eval| features}
{not in Vi} {not in Vi}
An expression that is used for character encoding conversion. It is An expression that is used for character encoding conversion. It is
evaluated when a file that is to be read or has been written has a evaluated when a file that is to be read or has been written has a
@ -1624,7 +1624,7 @@ A jump table for the options with a short description can be found at |Q_op|.
'whichwrap' + "" left-right movements don't wrap 'whichwrap' + "" left-right movements don't wrap
'wildchar' + CTRL-E only when the current value is <Tab> 'wildchar' + CTRL-E only when the current value is <Tab>
use CTRL-E for cmdline completion use CTRL-E for cmdline completion
'writebackup' on or off depends on +writebackup feature 'writebackup' on or off depends on the |+writebackup| feature
*'complete'* *'cpt'* *E535* *'complete'* *'cpt'* *E535*
'complete' 'cpt' string (default: ".,w,b,u,t,i") 'complete' 'cpt' string (default: ".,w,b,u,t,i")
@ -1674,8 +1674,8 @@ A jump table for the options with a short description can be found at |Q_op|.
'completefunc' 'cfu' string (default: empty) 'completefunc' 'cfu' string (default: empty)
local to buffer local to buffer
{not in Vi} {not in Vi}
{not available when compiled without the +eval {not available when compiled without the |+eval|
or +insert_expand feature} or |+insert_expand| features}
This option specifies a function to be used for Insert mode completion This option specifies a function to be used for Insert mode completion
with CTRL-X CTRL-U. |i_CTRL-X_CTRL-U| with CTRL-X CTRL-U. |i_CTRL-X_CTRL-U|
See |complete-functions| for an explanation of how the function is See |complete-functions| for an explanation of how the function is
@ -2209,7 +2209,7 @@ A jump table for the options with a short description can be found at |Q_op|.
'cursorcolumn' 'cuc' boolean (default off) 'cursorcolumn' 'cuc' boolean (default off)
local to window local to window
{not in Vi} {not in Vi}
{not available when compiled without the |+syntax| {not available when compiled without the |+syntax|
feature} feature}
Highlight the screen column of the cursor with CursorColumn Highlight the screen column of the cursor with CursorColumn
|hl-CursorColumn|. Useful to align text. Will make screen redrawing |hl-CursorColumn|. Useful to align text. Will make screen redrawing
@ -2224,7 +2224,7 @@ A jump table for the options with a short description can be found at |Q_op|.
'cursorline' 'cul' boolean (default off) 'cursorline' 'cul' boolean (default off)
local to window local to window
{not in Vi} {not in Vi}
{not available when compiled without the |+syntax| {not available when compiled without the |+syntax|
feature} feature}
Highlight the screen line of the cursor with CursorLine Highlight the screen line of the cursor with CursorLine
|hl-CursorLine|. Useful to easily spot the cursor. Will make screen |hl-CursorLine|. Useful to easily spot the cursor. Will make screen
@ -2444,7 +2444,7 @@ A jump table for the options with a short description can be found at |Q_op|.
'eadirection' 'ead' string (default "both") 'eadirection' 'ead' string (default "both")
global global
{not in Vi} {not in Vi}
{not available when compiled without the +vertsplit {not available when compiled without the |+vertsplit|
feature} feature}
Tells when the 'equalalways' option applies: Tells when the 'equalalways' option applies:
ver vertically, width of windows is not affected ver vertically, width of windows is not affected
@ -2962,7 +2962,7 @@ A jump table for the options with a short description can be found at |Q_op|.
local to window local to window
{not in Vi} {not in Vi}
{not available when compiled without the |+folding| {not available when compiled without the |+folding|
or |+eval| feature} or |+eval| features}
The expression used for when 'foldmethod' is "expr". It is evaluated The expression used for when 'foldmethod' is "expr". It is evaluated
for each line to obtain its fold level. See |fold-expr|. for each line to obtain its fold level. See |fold-expr|.
@ -3607,7 +3607,7 @@ A jump table for the options with a short description can be found at |Q_op|.
global global
{not in Vi} {not in Vi}
{only available when compiled with GUI enabled and {only available when compiled with GUI enabled and
with the +windows feature} with the |+windows| feature}
When nonempty describes the text to use in a label of the GUI tab When nonempty describes the text to use in a label of the GUI tab
pages line. When empty and when the result is empty Vim will use a pages line. When empty and when the result is empty Vim will use a
default label. See |setting-guitablabel| for more info. default label. See |setting-guitablabel| for more info.
@ -3624,7 +3624,7 @@ A jump table for the options with a short description can be found at |Q_op|.
global global
{not in Vi} {not in Vi}
{only available when compiled with GUI enabled and {only available when compiled with GUI enabled and
with the +windows feature} with the |+windows| feature}
When nonempty describes the text to use in a tooltip for the GUI tab When nonempty describes the text to use in a tooltip for the GUI tab
pages line. When empty Vim will use a default tooltip. pages line. When empty Vim will use a default tooltip.
This option is otherwise just like 'guitablabel' above. This option is otherwise just like 'guitablabel' above.
@ -3651,7 +3651,7 @@ A jump table for the options with a short description can be found at |Q_op|.
'helpheight' 'hh' number (default 20) 'helpheight' 'hh' number (default 20)
global global
{not in Vi} {not in Vi}
{not available when compiled without the +windows {not available when compiled without the |+windows|
feature} feature}
Minimal initial height of the help window when it is opened with the Minimal initial height of the help window when it is opened with the
":help" command. The initial height of the help window is half of the ":help" command. The initial height of the help window is half of the
@ -3910,8 +3910,8 @@ A jump table for the options with a short description can be found at |Q_op|.
'imcmdline' 'imc' boolean (default off) 'imcmdline' 'imc' boolean (default off)
global global
{not in Vi} {not in Vi}
{only available when compiled with the |+xim| {only available when compiled with the |+xim|,
|+multi_byte_ime| or |global-ime| feature} |+multi_byte_ime| or |global-ime| features}
When set the Input Method is always on when starting to edit a command When set the Input Method is always on when starting to edit a command
line, unless entering a search pattern (see 'imsearch' for that). line, unless entering a search pattern (see 'imsearch' for that).
Setting this option is useful when your input method allows entering Setting this option is useful when your input method allows entering
@ -3922,8 +3922,8 @@ A jump table for the options with a short description can be found at |Q_op|.
'imdisable' 'imd' boolean (default off, on for some systems (SGI)) 'imdisable' 'imd' boolean (default off, on for some systems (SGI))
global global
{not in Vi} {not in Vi}
{only available when compiled with the |+xim| {only available when compiled with the |+xim|,
|+multi_byte_ime| or |global-ime| feature} |+multi_byte_ime| or |global-ime| features}
When set the Input Method is never used. This is useful to disable When set the Input Method is never used. This is useful to disable
the IM when it doesn't work properly. the IM when it doesn't work properly.
Currently this option is on by default for SGI/IRIX machines. This Currently this option is on by default for SGI/IRIX machines. This
@ -3993,7 +3993,7 @@ A jump table for the options with a short description can be found at |Q_op|.
local to buffer local to buffer
{not in Vi} {not in Vi}
{not available when compiled without the {not available when compiled without the
|+find_in_path| or |+eval| feature} |+find_in_path| or |+eval| features}
Expression to be used to transform the string found with the 'include' Expression to be used to transform the string found with the 'include'
option to a file name. Mostly useful to change "." to "/" for Java: > option to a file name. Mostly useful to change "." to "/" for Java: >
:set includeexpr=substitute(v:fname,'\\.','/','g') :set includeexpr=substitute(v:fname,'\\.','/','g')
@ -4014,7 +4014,7 @@ A jump table for the options with a short description can be found at |Q_op|.
global global
{not in Vi} {not in Vi}
{not available when compiled without the {not available when compiled without the
|+extra_search| feature} |+extra_search| features}
While typing a search command, show where the pattern, as it was typed While typing a search command, show where the pattern, as it was typed
so far, matches. The matched string is highlighted. If the pattern so far, matches. The matched string is highlighted. If the pattern
is invalid or not found, nothing is shown. The screen will be updated is invalid or not found, nothing is shown. The screen will be updated
@ -4407,7 +4407,7 @@ A jump table for the options with a short description can be found at |Q_op|.
'linebreak' 'lbr' boolean (default off) 'linebreak' 'lbr' boolean (default off)
local to window local to window
{not in Vi} {not in Vi}
{not available when compiled without the |+linebreak| {not available when compiled without the |+linebreak|
feature} feature}
If on Vim will wrap long lines at a character in 'breakat' rather If on Vim will wrap long lines at a character in 'breakat' rather
than at the last character that fits on the screen. Unlike than at the last character that fits on the screen. Unlike
@ -4664,7 +4664,7 @@ A jump table for the options with a short description can be found at |Q_op|.
'maxfuncdepth' 'mfd' number (default 100) 'maxfuncdepth' 'mfd' number (default 100)
global global
{not in Vi} {not in Vi}
{not available when compiled without the +eval {not available when compiled without the |+eval|
feature} feature}
Maximum depth of function calls for user functions. This normally Maximum depth of function calls for user functions. This normally
catches endless recursion. When using a recursive function with catches endless recursion. When using a recursive function with
@ -5039,8 +5039,8 @@ A jump table for the options with a short description can be found at |Q_op|.
'omnifunc' 'ofu' string (default: empty) 'omnifunc' 'ofu' string (default: empty)
local to buffer local to buffer
{not in Vi} {not in Vi}
{not available when compiled without the +eval {not available when compiled without the |+eval|
or +insert_expand feature} or |+insert_expand| features}
This option specifies a function to be used for Insert mode omni This option specifies a function to be used for Insert mode omni
completion with CTRL-X CTRL-O. |i_CTRL-X_CTRL-O| completion with CTRL-X CTRL-O. |i_CTRL-X_CTRL-O|
See |complete-functions| for an explanation of how the function is See |complete-functions| for an explanation of how the function is
@ -5268,7 +5268,7 @@ A jump table for the options with a short description can be found at |Q_op|.
global global
{not in Vi} {not in Vi}
{not available when compiled without the |+windows| or {not available when compiled without the |+windows| or
|+quickfix| feature} |+quickfix| features}
Default height for a preview window. Used for |:ptag| and associated Default height for a preview window. Used for |:ptag| and associated
commands. Used for |CTRL-W_}| when no count is given. commands. Used for |CTRL-W_}| when no count is given.
@ -5278,7 +5278,7 @@ A jump table for the options with a short description can be found at |Q_op|.
local to window local to window
{not in Vi} {not in Vi}
{not available when compiled without the |+windows| or {not available when compiled without the |+windows| or
|+quickfix| feature} |+quickfix| features}
Identifies the preview window. Only one window can have this option Identifies the preview window. Only one window can have this option
set. It's normally not set directly, but by using one of the commands set. It's normally not set directly, but by using one of the commands
|:ptag|, |:pedit|, etc. |:ptag|, |:pedit|, etc.
@ -5769,7 +5769,7 @@ A jump table for the options with a short description can be found at |Q_op|.
help,options,tabpages,winsize") help,options,tabpages,winsize")
global global
{not in Vi} {not in Vi}
{not available when compiled without the +mksession {not available when compiled without the |+mksession|
feature} feature}
Changes the effect of the |:mksession| command. It is a comma Changes the effect of the |:mksession| command. It is a comma
separated list of words. Each word enables saving and restoring separated list of words. Each word enables saving and restoring
@ -6079,7 +6079,7 @@ A jump table for the options with a short description can be found at |Q_op|.
'showbreak' 'sbr' string (default "") 'showbreak' 'sbr' string (default "")
global global
{not in Vi} {not in Vi}
{not available when compiled without the |+linebreak| {not available when compiled without the |+linebreak|
feature} feature}
String to put at the start of lines that have been wrapped. Useful String to put at the start of lines that have been wrapped. Useful
values are "> " or "+++ ": > values are "> " or "+++ ": >
@ -6163,7 +6163,7 @@ A jump table for the options with a short description can be found at |Q_op|.
'showtabline' 'stal' number (default 1) 'showtabline' 'stal' number (default 1)
global global
{not in Vi} {not in Vi}
{not available when compiled without the +windows {not available when compiled without the |+windows|
feature} feature}
The value of this option specifies when the line with tab page labels The value of this option specifies when the line with tab page labels
will be displayed: will be displayed:
@ -6438,7 +6438,7 @@ A jump table for the options with a short description can be found at |Q_op|.
'splitbelow' 'sb' boolean (default off) 'splitbelow' 'sb' boolean (default off)
global global
{not in Vi} {not in Vi}
{not available when compiled without the +windows {not available when compiled without the |+windows|
feature} feature}
When on, splitting a window will put the new window below the current When on, splitting a window will put the new window below the current
one. |:split| one. |:split|
@ -6447,7 +6447,7 @@ A jump table for the options with a short description can be found at |Q_op|.
'splitright' 'spr' boolean (default off) 'splitright' 'spr' boolean (default off)
global global
{not in Vi} {not in Vi}
{not available when compiled without the +vertsplit {not available when compiled without the |+vertsplit|
feature} feature}
When on, splitting a window will put the new window right of the When on, splitting a window will put the new window right of the
current one. |:vsplit| current one. |:vsplit|
@ -6757,7 +6757,7 @@ A jump table for the options with a short description can be found at |Q_op|.
'tabline' 'tal' string (default empty) 'tabline' 'tal' string (default empty)
global global
{not in Vi} {not in Vi}
{not available when compiled without the +windows {not available when compiled without the |+windows|
feature} feature}
When nonempty, this option determines the content of the tab pages When nonempty, this option determines the content of the tab pages
line at the top of the Vim window. When empty Vim will use a default line at the top of the Vim window. When empty Vim will use a default
@ -6781,7 +6781,7 @@ A jump table for the options with a short description can be found at |Q_op|.
'tabpagemax' 'tpm' number (default 10) 'tabpagemax' 'tpm' number (default 10)
global global
{not in Vi} {not in Vi}
{not available when compiled without the +windows {not available when compiled without the |+windows|
feature} feature}
Maximum number of tab pages to be opened by the |-p| command line Maximum number of tab pages to be opened by the |-p| command line
argument or the ":tab all" command. |tabpage| argument or the ":tab all" command. |tabpage|
@ -7348,7 +7348,7 @@ A jump table for the options with a short description can be found at |Q_op|.
'undodir' 'udir' string (default ".") 'undodir' 'udir' string (default ".")
global global
{not in Vi} {not in Vi}
{only when compiled with the +persistent_undo feature} {only when compiled with the |+persistent_undo| feature}
List of directory names for undo files, separated with commas. List of directory names for undo files, separated with commas.
See |'backupdir'| for details of the format. See |'backupdir'| for details of the format.
"." means using the directory of the file. The undo file name for "." means using the directory of the file. The undo file name for
@ -7366,7 +7366,7 @@ A jump table for the options with a short description can be found at |Q_op|.
'undofile' 'udf' boolean (default off) 'undofile' 'udf' boolean (default off)
local to buffer local to buffer
{not in Vi} {not in Vi}
{only when compiled with the +persistent_undo feature} {only when compiled with the |+persistent_undo| feature}
When on, Vim automatically saves undo history to an undo file when When on, Vim automatically saves undo history to an undo file when
writing a buffer to a file, and restores undo history from the same writing a buffer to a file, and restores undo history from the same
file on buffer read. file on buffer read.
@ -7480,7 +7480,7 @@ A jump table for the options with a short description can be found at |Q_op|.
for RiscOS: "Choices:vimfiles/view") for RiscOS: "Choices:vimfiles/view")
global global
{not in Vi} {not in Vi}
{not available when compiled without the +mksession {not available when compiled without the |+mksession|
feature} feature}
Name of the directory where to store files for |:mkview|. Name of the directory where to store files for |:mkview|.
This option cannot be set from a |modeline| or in the |sandbox|, for This option cannot be set from a |modeline| or in the |sandbox|, for
@ -7490,7 +7490,7 @@ A jump table for the options with a short description can be found at |Q_op|.
'viewoptions' 'vop' string (default: "folds,options,cursor") 'viewoptions' 'vop' string (default: "folds,options,cursor")
global global
{not in Vi} {not in Vi}
{not available when compiled without the +mksession {not available when compiled without the |+mksession|
feature} feature}
Changes the effect of the |:mkview| command. It is a comma separated Changes the effect of the |:mkview| command. It is a comma separated
list of words. Each word enables saving and restoring something: list of words. Each word enables saving and restoring something:
@ -7516,7 +7516,7 @@ A jump table for the options with a short description can be found at |Q_op|.
for others: '100,<50,s10,h) for others: '100,<50,s10,h)
global global
{not in Vi} {not in Vi}
{not available when compiled without the |+viminfo| {not available when compiled without the |+viminfo|
feature} feature}
When non-empty, the viminfo file is read upon startup and written When non-empty, the viminfo file is read upon startup and written
when exiting Vim (see |viminfo-file|). The string should be a comma when exiting Vim (see |viminfo-file|). The string should be a comma
@ -7880,7 +7880,7 @@ A jump table for the options with a short description can be found at |Q_op|.
'winheight' 'wh' number (default 1) 'winheight' 'wh' number (default 1)
global global
{not in Vi} {not in Vi}
{not available when compiled without the +windows {not available when compiled without the |+windows|
feature} feature}
Minimal number of lines for the current window. This is not a hard Minimal number of lines for the current window. This is not a hard
minimum, Vim will use fewer lines if there is not enough room. If the minimum, Vim will use fewer lines if there is not enough room. If the
@ -7903,7 +7903,7 @@ A jump table for the options with a short description can be found at |Q_op|.
'winfixheight' 'wfh' boolean (default off) 'winfixheight' 'wfh' boolean (default off)
local to window local to window
{not in Vi} {not in Vi}
{not available when compiled without the +windows {not available when compiled without the |+windows|
feature} feature}
Keep the window height when windows are opened or closed and Keep the window height when windows are opened or closed and
'equalalways' is set. Also for |CTRL-W_=|. Set by default for the 'equalalways' is set. Also for |CTRL-W_=|. Set by default for the
@ -7914,7 +7914,7 @@ A jump table for the options with a short description can be found at |Q_op|.
'winfixwidth' 'wfw' boolean (default off) 'winfixwidth' 'wfw' boolean (default off)
local to window local to window
{not in Vi} {not in Vi}
{not available when compiled without the +windows {not available when compiled without the |+windows|
feature} feature}
Keep the window width when windows are opened or closed and Keep the window width when windows are opened or closed and
'equalalways' is set. Also for |CTRL-W_=|. 'equalalways' is set. Also for |CTRL-W_=|.
@ -7924,7 +7924,7 @@ A jump table for the options with a short description can be found at |Q_op|.
'winminheight' 'wmh' number (default 1) 'winminheight' 'wmh' number (default 1)
global global
{not in Vi} {not in Vi}
{not available when compiled without the +windows {not available when compiled without the |+windows|
feature} feature}
The minimal height of a window, when it's not the current window. The minimal height of a window, when it's not the current window.
This is a hard minimum, windows will never become smaller. This is a hard minimum, windows will never become smaller.
@ -7940,7 +7940,7 @@ A jump table for the options with a short description can be found at |Q_op|.
'winminwidth' 'wmw' number (default 1) 'winminwidth' 'wmw' number (default 1)
global global
{not in Vi} {not in Vi}
{not available when compiled without the +vertsplit {not available when compiled without the |+vertsplit|
feature} feature}
The minimal width of a window, when it's not the current window. The minimal width of a window, when it's not the current window.
This is a hard minimum, windows will never become smaller. This is a hard minimum, windows will never become smaller.
@ -7957,7 +7957,7 @@ A jump table for the options with a short description can be found at |Q_op|.
'winwidth' 'wiw' number (default 20) 'winwidth' 'wiw' number (default 20)
global global
{not in Vi} {not in Vi}
{not available when compiled without the +vertsplit {not available when compiled without the |+vertsplit|
feature} feature}
Minimal number of columns for the current window. This is not a hard Minimal number of columns for the current window. This is not a hard
minimum, Vim will use fewer columns if there is not enough room. If minimum, Vim will use fewer columns if there is not enough room. If

View File

@ -765,7 +765,7 @@ $ At end of pattern or in front of "\|", "\)" or "\n" ('magic' on):
branch is used. Example: > branch is used. Example: >
/\(.\{-}\zsFab\)\{3} /\(.\{-}\zsFab\)\{3}
< Finds the third occurrence of "Fab". < Finds the third occurrence of "Fab".
{not in Vi} {not available when compiled without the +syntax feature} {not in Vi} {not available when compiled without the |+syntax| feature}
*/\ze* */\ze*
\ze Matches at any position, and sets the end of the match there: The \ze Matches at any position, and sets the end of the match there: The
previous char is the last char of the whole match. |/zero-width| previous char is the last char of the whole match. |/zero-width|
@ -773,7 +773,7 @@ $ At end of pattern or in front of "\|", "\)" or "\n" ('magic' on):
branch is used. branch is used.
Example: "end\ze\(if\|for\)" matches the "end" in "endif" and Example: "end\ze\(if\|for\)" matches the "end" in "endif" and
"endfor". "endfor".
{not in Vi} {not available when compiled without the +syntax feature} {not in Vi} {not available when compiled without the |+syntax| feature}
*/\%^* *start-of-file* */\%^* *start-of-file*
\%^ Matches start of the file. When matching with a string, matches the \%^ Matches start of the file. When matching with a string, matches the
@ -1085,7 +1085,7 @@ x A single character, with no special meaning, matches itself
To include a "[" use "[[]" and for "]" use []]", e.g.,: > To include a "[" use "[[]" and for "]" use []]", e.g.,: >
/index\%[[[]0[]]] /index\%[[[]0[]]]
< matches "index" "index[", "index[0" and "index[0]". < matches "index" "index[", "index[0" and "index[0]".
{not available when compiled without the +syntax feature} {not available when compiled without the |+syntax| feature}
*/\%d* */\%x* */\%o* */\%u* */\%U* *E678* */\%d* */\%x* */\%o* */\%u* */\%U* *E678*

View File

@ -15,8 +15,7 @@ These functions were originally created by Avner Lottem:
{Vi does not have any of these commands} {Vi does not have any of these commands}
*E26* *E26*
This feature is only available when the |+rightleft| feature was enabled {only available when compiled with the |+rightleft| feature}
at compile time.
Introduction Introduction

View File

@ -1498,7 +1498,8 @@ most of the information will be restored).
file. This list is read on startup and only changes file. This list is read on startup and only changes
afterwards with ":rviminfo!". Also see |v:oldfiles|. afterwards with ":rviminfo!". Also see |v:oldfiles|.
The number can be used with |c_#<|. The number can be used with |c_#<|.
{not in Vi, only when compiled with the +eval feature} {not in Vi, only when compiled with the |+eval|
feature}
:bro[wse] ol[dfiles][!] :bro[wse] ol[dfiles][!]
List file names as with |:oldfiles|, and then prompt List file names as with |:oldfiles|, and then prompt

View File

@ -443,7 +443,7 @@ Example for an xterm, this changes the color of the cursor: >
endif endif
NOTE: When Vim exits the shape for Normal mode will remain. The shape from NOTE: When Vim exits the shape for Normal mode will remain. The shape from
before Vim started will not be restored. before Vim started will not be restored.
{not available when compiled without the +cursorshape feature} {not available when compiled without the |+cursorshape| feature}
*termcap-title* *termcap-title*
The 't_ts' and 't_fs' options are used to set the window title if the terminal The 't_ts' and 't_fs' options are used to set the window title if the terminal

View File

@ -529,7 +529,7 @@ Summary: *help-summary* >
:help -subject :help -subject
< Command-line option "-subject". > < Command-line option "-subject". >
:help +subject :help +subject
< Compile-time feature "+subject'. > < Compile-time feature "+subject". >
:help EventName :help EventName
< Autocommand event "EventName". > < Autocommand event "EventName". >
:help digraphs.txt :help digraphs.txt

View File

@ -204,8 +204,8 @@ g8 Print the hex values of the bytes used in the
for each line. Otherwise it's the same as the for each line. Otherwise it's the same as the
":normal" command without a range. ":normal" command without a range.
{not in Vi} {not in Vi}
Not available when |+ex_extra| feature was disabled at {not available when |+ex_extra| feature was disabled
compile time. at compile time}
*:sh* *:shell* *E371* *:sh* *:shell* *E371*
:sh[ell] This command starts a shell. When the shell exits :sh[ell] This command starts a shell. When the shell exits
@ -558,7 +558,7 @@ or an autocommand will also display where it was last defined. If it was
defined manually then there will be no "Last set" message. When it was defined manually then there will be no "Last set" message. When it was
defined while executing a function, user command or autocommand, the script in defined while executing a function, user command or autocommand, the script in
which it was defined is reported. which it was defined is reported.
{not available when compiled without the +eval feature} {not available when compiled without the |+eval| feature}
*K* *K*
K Run a program to lookup the keyword under the K Run a program to lookup the keyword under the

View File

@ -1,4 +1,4 @@
*windows.txt* For Vim version 7.3g. Last change: 2010 Apr 12 *windows.txt* For Vim version 7.3g. Last change: 2010 Aug 15
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -439,7 +439,7 @@ CTRL-W H Move the current window to be at the far left, using the
current window and then creating another one with current window and then creating another one with
":vert topleft split", except that the current window contents ":vert topleft split", except that the current window contents
is used for the new window. is used for the new window.
{not available when compiled without the +vertsplit feature} {not available when compiled without the |+vertsplit| feature}
*CTRL-W_L* *CTRL-W_L*
CTRL-W L Move the current window to be at the far right, using the full CTRL-W L Move the current window to be at the far right, using the full
@ -447,7 +447,7 @@ CTRL-W L Move the current window to be at the far right, using the full
current window and then creating another one with current window and then creating another one with
":vert botright split", except that the current window ":vert botright split", except that the current window
contents is used for the new window. contents is used for the new window.
{not available when compiled without the +vertsplit feature} {not available when compiled without the |+vertsplit| feature}
*CTRL-W_T* *CTRL-W_T*
CTRL-W T Move the current window to a new tab page. This fails if CTRL-W T Move the current window to a new tab page. This fails if
@ -645,7 +645,7 @@ can also get to them with the buffer list commands, like ":bnext".
When using the |:tab| modifier each argument is opened in a When using the |:tab| modifier each argument is opened in a
tab page. The last window is used if it's empty. tab page. The last window is used if it's empty.
Also see |++opt| and |+cmd|. Also see |++opt| and |+cmd|.
{only available when compiled with the +gui feature} {only available when compiled with a GUI}
============================================================================== ==============================================================================
8. Do a command in all buffers or windows *list-repeat* 8. Do a command in all buffers or windows *list-repeat*