summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-02-22 08:49:11 +0000
committerBram Moolenaar <Bram@vim.org>2005-02-22 08:49:11 +0000
commit26a60b45245080771bc2452b2634cb1f5acd60ed (patch)
tree82a54fd6544b2c2a57b5c52cb4d64c42dcd640a3 /runtime
parentdf177f679e950a2ab2ad5fe7d45c1daface004d7 (diff)
updated for version 7.0051
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/autocmd.txt6
-rw-r--r--runtime/doc/change.txt36
-rw-r--r--runtime/doc/eval.txt54
-rw-r--r--runtime/doc/options.txt55
-rw-r--r--runtime/doc/pattern.txt20
-rw-r--r--runtime/doc/repeat.txt9
-rw-r--r--runtime/doc/starting.txt12
-rw-r--r--runtime/doc/tags30
-rw-r--r--runtime/doc/windows.txt4
-rw-r--r--runtime/filetype.vim5
-rw-r--r--runtime/ftplugin/vim.vim6
11 files changed, 190 insertions, 47 deletions
diff --git a/runtime/doc/autocmd.txt b/runtime/doc/autocmd.txt
index c815f362aa..e994df8867 100644
--- a/runtime/doc/autocmd.txt
+++ b/runtime/doc/autocmd.txt
@@ -1,4 +1,4 @@
-*autocmd.txt* For Vim version 7.0aa. Last change: 2005 Feb 07
+*autocmd.txt* For Vim version 7.0aa. Last change: 2005 Feb 21
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -204,10 +204,12 @@ FilterReadPre Before reading a file from a filter command.
the current buffer, not the name of the
temporary file that is the output of the
filter command.
+ Not triggered when 'shelltemp' is off.
*FilterReadPost*
FilterReadPost After reading a file from a filter command.
Vim checks the pattern against the name of
the current buffer as with FilterReadPre.
+ Not triggered when 'shelltemp' is off.
*FileType*
FileType When the 'filetype' option has been set.
<afile> can be used for the name of the file
@@ -270,11 +272,13 @@ FilterWritePre Before writing a file for a filter command or
the current buffer, not the name of the
temporary file that is the output of the
filter command.
+ Not triggered when 'shelltemp' is off.
*FilterWritePost*
FilterWritePost After writing a file for a filter command or
making a diff.
Vim checks the pattern against the name of
the current buffer as with FilterWritePre.
+ Not triggered when 'shelltemp' is off.
*FileChangedShell*
FileChangedShell When Vim notices that the modification time of
a file has changed since editing started.
diff --git a/runtime/doc/change.txt b/runtime/doc/change.txt
index 766bcb0fc0..379d5e1fa3 100644
--- a/runtime/doc/change.txt
+++ b/runtime/doc/change.txt
@@ -1,4 +1,4 @@
-*change.txt* For Vim version 7.0aa. Last change: 2005 Feb 08
+*change.txt* For Vim version 7.0aa. Last change: 2005 Feb 21
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -112,19 +112,22 @@ gJ Join [count] lines, with a minimum of two lines.
Vi}
*:j* *:join*
-:[range]j[oin][!] Join [range] lines. Same as "J", except with [!]
+:[range]j[oin][!] [flags]
+ Join [range] lines. Same as "J", except with [!]
the join does not insert or delete any spaces.
If a [range] has equal start and end values, this
command does nothing. The default behavior is to
join the current line with the line below it.
{not in Vi: !}
+ See |ex-flags| for [flags].
-:[range]j[oin][!] {count}
+:[range]j[oin][!] {count} [flags]
Join {count} lines, starting with [range] (default:
current line |cmdline-ranges|). Same as "J", except
with [!] the join does not insert or delete any
spaces.
{not in Vi: !}
+ See |ex-flags| for [flags].
These commands delete the <EOL> between lines. This has the effect of joining
multiple lines into one line. You can repeat these commands (except ":j") and
@@ -236,10 +239,12 @@ If you prefer "cw" to include the space after a word, use this mapping: >
:map cw dwi
<
*:c* *:ch* *:change*
-:{range}c[hange] Replace lines of text with some different text.
+:{range}c[hange][!] Replace lines of text with some different text.
Type a line containing only "." to stop replacing.
Without {range}, this command changes only the current
line.
+ Adding [!] toggles 'autoindent' for the time this
+ command is executed.
==============================================================================
3. Simple changes *simple-change*
@@ -424,12 +429,15 @@ SHIFTING LINES LEFT OR RIGHT *shift-left-right*
lines to [indent] (default 0). {not in Vi}
*:>*
-:[range]> Shift {count} [range] lines one 'shiftwidth' right.
+:[range]> [flags] Shift {count} [range] lines one 'shiftwidth' right.
Repeat '>' for shifting multiple 'shiftwidth's.
+ See |ex-flags| for [flags].
-:[range]> {count} Shift {count} lines one 'shiftwidth' right, starting
+:[range]> {count} [flags]
+ Shift {count} lines one 'shiftwidth' right, starting
with [range] (default current line |cmdline-ranges|).
Repeat '>' for shifting multiple 'shiftwidth's.
+ See |ex-flags| for [flags].
The ">" and "<" commands are handy for changing the indentation within
programs. Use the 'shiftwidth' option to set the size of the white space
@@ -519,7 +527,7 @@ comment (starting with '"') after the ":!" command.
4.2 Substitute *:substitute*
*:s* *:su*
-:[range]s[ubstitute]/{pattern}/{string}/[&][c][e][g][p][r][i][I] [count]
+:[range]s[ubstitute]/{pattern}/{string}/[&][#][c][e][g][p][r][i][I] [count]
For each line in [range] replace a match of {pattern}
with {string}.
For the {pattern} see |pattern|.
@@ -533,8 +541,8 @@ comment (starting with '"') after the ":!" command.
Also see |cmdline-ranges|.
See |:s_flags| for the flags.
-:[range]s[ubstitute] [c][e][g][p][r][i][I] [count]
-:[range]&[&][c][e][g][p][r][i][I] [count] *:&*
+:[range]s[ubstitute] [#][c][e][g][p][r][i][I] [count]
+:[range]&[&][#][c][e][g][p][r][i][I] [count] *:&*
Repeat last :substitute with same search pattern and
substitute string, but without the same flags. You
may add extra flags (see |:s_flags|).
@@ -544,7 +552,7 @@ comment (starting with '"') after the ":!" command.
'r' flags isn't required, but in scripts it's a good
idea to keep it to avoid confusion.
-:[range]~[&][c][e][g][p][r][i][I] [count] *:~*
+:[range]~[&][#][c][e][g][p][r][i][I] [count] *:~*
Repeat last substitute with same substitute string
but with last used search pattern. This is like
":&r". See |:s_flags| for the flags.
@@ -622,7 +630,10 @@ The flags that you can use for the substitute commands:
{not in Vi}
[p] Print the line containing the last substitute.
- {not in Vi}
+
+[#] Like [p] and prepend the line number.
+
+[l] Like [l] but print the text like |:list|.
[r] Only useful in combination with ":&" or ":s" without arguments. ":&r"
works the same way as ":~": When the search pattern is empty, use the
@@ -668,6 +679,9 @@ For the definition of a pattern, see |pattern|.
When the {string} starts with "\=" it is evaluated as an expression, see
|sub-replace-expression|. Otherwise these characters in {string} have a
special meaning:
+ *:s%*
+When {string} is equal to "%" and '/' is included with the 'cpotions' option,
+then the {string} of the previous substitute command is used. |cpo-/|
magic nomagic action ~
& \& replaced with the whole matched pattern *s/\&*
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index 736ab793bc..028aa089fc 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -1,4 +1,4 @@
-*eval.txt* For Vim version 7.0aa. Last change: 2005 Feb 11
+*eval.txt* For Vim version 7.0aa. Last change: 2005 Feb 21
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1484,13 +1484,16 @@ matchstr( {expr}, {pat}[, {start}[, {count}]])
String {count}'th match of {pat} in {expr}
max({list}) Number maximum value of items in {list}
min({list}) Number minumum value of items in {list}
+mkdir({name} [, {path} [, {prot}]])
+ Number create directory {name}
mode() String current editing mode
nextnonblank( {lnum}) Number line nr of non-blank line >= {lnum}
nr2char( {expr}) String single char with ASCII value {expr}
prevnonblank( {lnum}) Number line nr of non-blank line <= {lnum}
range( {expr} [, {max} [, {stride}]])
List items from {expr} to {max}
-readfile({fname} [, {binary}]) List get list of lines from file {fname}
+readfile({fname} [, {binary} [, {max}]])
+ List get list of lines from file {fname}
remote_expr( {server}, {string} [, {idvar}])
String send expression
remote_foreground( {server}) Number bring Vim server to the foreground
@@ -3099,6 +3102,19 @@ min({list}) Return the minumum value of all items in {list}.
be used as a Number this results in an error.
An empty List results in zero.
+ *mkdir()* *E749*
+mkdir({name} [, {path} [, {prot}]])
+ Create directory {name}.
+ If {path} is "p" then intermediate directories are created as
+ necessary. Otherwise it must be "".
+ If {prot} is given it is used to set the protection bits of
+ the new directory. The default is 0755 (rwxr-xr-x: r/w for
+ the user readable for others). Use 0700 to make it unreadable
+ for others.
+ This function is not available in the |sandbox|.
+ Not available on all systems. To check use: >
+ :if exists("*mkdir")
+<
*mode()*
mode() Return a string that indicates the current mode:
n Normal
@@ -3158,7 +3174,7 @@ range({expr} [, {max} [, {stride}]]) *range()*
range(2, -2, -1) " [2, 1, 0, -1, -2]
<
*readfile()*
-readfile({fname} [, {binary}])
+readfile({fname} [, {binary} [, {max}]])
Read file {fname} and return a List, each line of the file as
an item. Lines broken at NL characters. Macintosh files
separated with CR will result in a single long line (unless a
@@ -3171,9 +3187,16 @@ readfile({fname} [, {binary}])
- CR characters that appear before a NL are removed.
- Whether the last line ends in a NL or not does not matter.
All NUL characters are replaced with a NL character.
- Note that the whole file is read into memory and there is no
- recognition of encoding. Read a file into a buffer if you
- need to.
+ When {max} is given this specifies the maximum number of lines
+ to be read. Useful if you only want to check the first ten
+ lines of a file: >
+ :for line in readfile(fname, '', 10)
+ : if line =~ 'Date' | echo line | endif
+ :endfor
+< When {max} is zero or negative the result is an empty list.
+ Note that without {max} the whole file is read into memory.
+ Also note that there is no recognition of encoding. Read a
+ file into a buffer if you need to.
When the file can't be opened an error message is given and
the result is an empty list.
Also see |writefile()|.
@@ -3997,6 +4020,8 @@ extra_search Compiled with support for |'incsearch'| and
|'hlsearch'|
farsi Compiled with Farsi support |farsi|.
file_in_path Compiled with support for |gf| and |<cfile>|
+filterpipe When 'shelltemp' is off pipes are used for shell
+ read/write/filter commands
find_in_path Compiled with support for include file searches
|+find_in_path|.
fname_case Case in file names matters (for Amiga, MS-DOS, and
@@ -4374,7 +4399,7 @@ The file "~/vim/bufnetfuncs.vim" should then define functions that start with
Using an autoload script ~
-
+ *autoload* *E746*
Using a script in the "autoload" directory is simpler, but requires using
exactly the right file name. A function that can be autoloaded has a name
like this: >
@@ -4404,9 +4429,24 @@ Vim will look for the file "autoload/foo/bar.vim" in 'runtimepath'.
The name before the first colon must be at least two characters long,
otherwise it looks like a scope, such as "s:".
+This also works when reading a variable that has not been set yet: >
+
+ :let l = foo:bar:lvar
+
+When assigning a value to such a variable nothing special happens. This can
+be used to pass settings to the autoload script before it's loaded: >
+
+ :let foo:bar:toggle = 1
+ :call foo:bar:func()
+
Note that when you make a mistake and call a function that is supposed to be
defined in an autoload script, but the script doesn't actually define the
function, the script will be sourced every time you try to call the function.
+And you will get an error message every time.
+
+Also note that if you have two script files, and one calls a function in the
+other and vise versa, before the used function is defined, it won't work.
+Avoid using the autoload functionality at the toplevel.
==============================================================================
6. Curly braces names *curly-braces-names*
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index 25558d6423..e8b4a9d155 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -1,4 +1,4 @@
-*options.txt* For Vim version 7.0aa. Last change: 2005 Feb 10
+*options.txt* For Vim version 7.0aa. Last change: 2005 Feb 21
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1745,9 +1745,11 @@ A jump table for the options with a short description can be found at |Q_op|.
enables cancelling the mapping by typing <F1><Esc>.
*cpo-l*
l Backslash in a [] range in a search pattern is taken
- literally, only "\]" is special See |/[]|
+ literally, only "\]", "\^", "\-" and "\\" are special.
+ See |/[]|
'l' included: "/[ \t]" finds <Space>, '\' and 't'
'l' excluded: "/[ \t]" finds <Space> and <Tab>
+ Also see |cpo-\|.
*cpo-L*
L When the 'list' option is set, 'wrapmargin',
'textwidth', 'softtabstop' and Virtual Replace mode
@@ -1895,17 +1897,31 @@ A jump table for the options with a short description can be found at |Q_op|.
contains behavior ~
*cpo-#*
# A count before "D", "o" and "O" has no effect.
+ *cpo-&*
+ & When ":preserve" was used keep the swap file when
+ exiting normally while this buffer is still loaded.
+ This flag is tested when exiting.
+ *cpo-\*
+ \ Backslash in a [] range in a search pattern is taken
+ literally, only "\]" is special See |/[]|
+ 'l' included: "/[ \t]" finds <Space>, '\' and 't'
+ 'l' excluded: "/[ \t]" finds <Space> and <Tab>
+ Also see |cpo-\|.
+ *cpo-/*
+ / When "%" is used as the replacement string in a |:s|
+ command, use the previous replacement string. |:s%|
*cpo-{*
{ The |{| and |}| commands also stop at a "{" character
at the start of a line.
+ *cpo-.*
+ . The ":chdir" and ":cd" commands fail if the current
+ buffer is modified, unless ! is used. Vim doesn't
+ need this, since it remembers the full path of an
+ opened file.
*cpo-bar*
| The value of the $LINES and $COLUMNS environment
variables overrule the terminal size values obtained
with system specific functions.
- *cpo-&*
- & When ":preserve" was used keep the swap file when
- exiting normally while this buffer is still loaded.
- This flag is tested when exiting.
*'cscopepathcomp'* *'cspc'*
@@ -1972,6 +1988,9 @@ A jump table for the options with a short description can be found at |Q_op|.
When set to "msg", error messages that would otherwise be omitted will
be given anyway. This is useful when debugging 'foldexpr' or
'indentexpr'.
+ When set to "beep", a message will be given when otherwise only a beep
+ would be produced.
+ The values can be combined, separated by a comma.
*'define'* *'def'*
'define' 'def' string (default "^\s*#\s*define")
@@ -4708,6 +4727,11 @@ A jump table for the options with a short description can be found at |Q_op|.
List of items that control the format of the output of |:hardcopy|.
See |popt-option|.
+ *'prompt'* *'noprompt'*
+'prompt' boolean (default on)
+ global
+ When on a ":" prompt is used in Ex mode.
+
*'quoteescape'* *'qe'*
'quoteescape' 'qe' string (default "\")
local to buffer
@@ -5239,6 +5263,22 @@ A jump table for the options with a short description can be found at |Q_op|.
separator. To test if this is so use: >
if exists('+shellslash')
<
+ *'shelltemp'* *'stmp'* *'noshelltemp'* *'nostmp'*
+'shelltemp' 'stmp' boolean (Vi default off, Vim default on)
+ global
+ {not in Vi}
+ When on, use temp files for shell commands. When off use a pipe.
+ When using a pipe is not possible temp files are used anyway.
+ Currently a pipe is only supported on Unix. You can check it with: >
+ :if has("filterpipe")
+< The advantage of using a pipe is that nobody can read the temp file
+ and the 'shell' command does not need to support redirection.
+ The advantage of using a temp file is that the file type and encoding
+ can be detected.
+ The |FilterReadPre|, |FilterReadPost| and |FilterWritePre|,
+ |FilterWritePost| autocommands event are not triggered when
+ 'shelltemp' is off.
+
*'shelltype'* *'st'*
'shelltype' 'st' number (default 0)
global
@@ -5288,7 +5328,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|'cindent'|, |>>|, |<<|, etc.
*'shortmess'* *'shm'*
-'shortmess' 'shm' string (Vim default "filnxtToO", Vi default: "")
+'shortmess' 'shm' string (Vim default "filnxtToO", Vi default: "",
+ POSIX default: "A")
global
{not in Vi}
This option helps to avoid all the |hit-enter| prompts caused by file
diff --git a/runtime/doc/pattern.txt b/runtime/doc/pattern.txt
index 2ff676ac2d..d12f0a0545 100644
--- a/runtime/doc/pattern.txt
+++ b/runtime/doc/pattern.txt
@@ -1,4 +1,4 @@
-*pattern.txt* For Vim version 7.0aa. Last change: 2005 Jan 26
+*pattern.txt* For Vim version 7.0aa. Last change: 2005 Feb 20
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -522,11 +522,6 @@ An atom can be followed by an indication of how many times the atom can be
matched and in what way. This is called a multi. See |/multi| for an
overview.
-It is not possible to use a multi that can match more than one time after an
-atom that can match an empty string. That's because this could result in an
-endless loop. If you try it, you will get this error message: >
- *, \+ or \{ operand could be empty
-<
*/star* */\star* *E56*
* (use \* when 'magic' is not set)
Matches 0 or more of the preceding atom, as many as possible.
@@ -577,7 +572,7 @@ endless loop. If you try it, you will get this error message: >
\{-} matches 0 or more of the preceding atom, as few as possible
{Vi does not have any of these}
- n and m are positive decimal numbers
+ n and m are positive decimal numbers or zero
If a "-" appears immediately after the "{", then a shortest match
first algorithm is used (see example below). In particular, "\{-}" is
@@ -982,6 +977,17 @@ x A single character, with no special meaning, matches itself
a list of at least one character, each of which is either '-', '.',
'/', alphabetic, numeric, '_' or '~'.
These items only work for 8-bit characters.
+ */[[=* *[==]*
+ - An equivalence class. This means that characters are matched that
+ have almost the same meaning, e.g., when ignoring accents. The form
+ is:
+ [=a=]
+ Currrently this is only implemented for latin1. Also works for the
+ latin1 characters in utf-8 and latin9.
+ */[[.* *[..]*
+ - A collation element. This currently simply accepts a single
+ character in the form:
+ [.a.]
*/\]*
- To include a literal ']', '^', '-' or '\' in the collection, put a
backslash before it: "[xyz\]]", "[\^xyz]", "[xy\-z]" and "[xyz\\]".
diff --git a/runtime/doc/repeat.txt b/runtime/doc/repeat.txt
index ef8442b25a..04fb0ada38 100644
--- a/runtime/doc/repeat.txt
+++ b/runtime/doc/repeat.txt
@@ -1,4 +1,4 @@
-*repeat.txt* For Vim version 7.0aa. Last change: 2005 Jan 28
+*repeat.txt* For Vim version 7.0aa. Last change: 2005 Feb 19
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -81,6 +81,11 @@ This replaces all occurrences of "pat" with "PAT". The same can be done with:
:%s/pat/PAT/g
Which is two characters shorter!
+A special case is using ":visual" as a command. This will move to a matching
+line, go to Normal mode to let you execute commands there until you use |Q| to
+return to Ex mode. This will be repeated for each matching line. While doing
+this you cannot use ":global".
+
==============================================================================
3. Complex repeats *complex-repeat*
@@ -102,7 +107,7 @@ q Stops recording. (Implementation note: The 'q' that
expression. The result of the expression is then
executed. See also |@:|. {Vi: only named registers}
- *@@*
+ *@@* *E748*
@@ Repeat the previous @{0-9a-z":*} [count] times.
:[addr]*{0-9a-z".=} *:@* *:star*
diff --git a/runtime/doc/starting.txt b/runtime/doc/starting.txt
index 46a5e0b02a..337c2ca925 100644
--- a/runtime/doc/starting.txt
+++ b/runtime/doc/starting.txt
@@ -1,4 +1,4 @@
-*starting.txt* For Vim version 7.0aa. Last change: 2005 Feb 10
+*starting.txt* For Vim version 7.0aa. Last change: 2005 Feb 19
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -263,8 +263,14 @@ a slash. Thus "-R" means recovery and "-/R" readonly.
To be used when Vim is used to execute Ex commands from a file
instead of a terminal. Switches off most prompts and
informative messages. Also warnings and error messages.
- But ":print" output is displayed. And when 'verbose' is
- non-zero messages are printed (for debugging).
+ The output of these commands is displayed (to stdout):
+ :print
+ :list
+ :number
+ :set to display option values.
+ When 'verbose' is non-zero messages are printed (for
+ debugging, to stderr).
+ 'term' and $TERM are not used.
If Vim appears to be stuck try typing "qa!<Enter>". You don't
get a prompt thus you can't see Vim is waiting for you to type
something.
diff --git a/runtime/doc/tags b/runtime/doc/tags
index bc1e9ef0fe..dedbc71fce 100644
--- a/runtime/doc/tags
+++ b/runtime/doc/tags
@@ -506,6 +506,7 @@ $VIMRUNTIME starting.txt /*$VIMRUNTIME*
'nopi' options.txt /*'nopi'*
'nopreserveindent' options.txt /*'nopreserveindent'*
'nopreviewwindow' options.txt /*'nopreviewwindow'*
+'noprompt' options.txt /*'noprompt'*
'nopvw' options.txt /*'nopvw'*
'noreadonly' options.txt /*'noreadonly'*
'noremap' options.txt /*'noremap'*
@@ -528,6 +529,7 @@ $VIMRUNTIME starting.txt /*$VIMRUNTIME*
'nosecure' options.txt /*'nosecure'*
'nosft' options.txt /*'nosft'*
'noshellslash' options.txt /*'noshellslash'*
+'noshelltemp' options.txt /*'noshelltemp'*
'noshiftround' options.txt /*'noshiftround'*
'noshortname' options.txt /*'noshortname'*
'noshowcmd' options.txt /*'noshowcmd'*
@@ -549,6 +551,7 @@ $VIMRUNTIME starting.txt /*$VIMRUNTIME*
'nossl' options.txt /*'nossl'*
'nosta' options.txt /*'nosta'*
'nostartofline' options.txt /*'nostartofline'*
+'nostmp' options.txt /*'nostmp'*
'noswapfile' options.txt /*'noswapfile'*
'noswf' options.txt /*'noswf'*
'nota' options.txt /*'nota'*
@@ -633,7 +636,7 @@ $VIMRUNTIME starting.txt /*$VIMRUNTIME*
'printmbcharset' options.txt /*'printmbcharset'*
'printmbfont' options.txt /*'printmbfont'*
'printoptions' options.txt /*'printoptions'*
-'prompt' vi_diff.txt /*'prompt'*
+'prompt' options.txt /*'prompt'*
'pt' options.txt /*'pt'*
'pvh' options.txt /*'pvh'*
'pvw' options.txt /*'pvw'*
@@ -687,6 +690,7 @@ $VIMRUNTIME starting.txt /*$VIMRUNTIME*
'shellquote' options.txt /*'shellquote'*
'shellredir' options.txt /*'shellredir'*
'shellslash' options.txt /*'shellslash'*
+'shelltemp' options.txt /*'shelltemp'*
'shelltype' options.txt /*'shelltype'*
'shellxquote' options.txt /*'shellxquote'*
'shiftround' options.txt /*'shiftround'*
@@ -732,6 +736,7 @@ $VIMRUNTIME starting.txt /*$VIMRUNTIME*
'startofline' options.txt /*'startofline'*
'statusline' options.txt /*'statusline'*
'stl' options.txt /*'stl'*
+'stmp' options.txt /*'stmp'*
'sts' options.txt /*'sts'*
'su' options.txt /*'su'*
'sua' options.txt /*'sua'*
@@ -1213,6 +1218,8 @@ $VIMRUNTIME starting.txt /*$VIMRUNTIME*
/. pattern.txt /*\/.*
//; pattern.txt /*\/\/;*
/<CR> pattern.txt /*\/<CR>*
+/[[. pattern.txt /*\/[[.*
+/[[= pattern.txt /*\/[[=*
/[] pattern.txt /*\/[]*
/\ pattern.txt /*\/\\*
/\$ pattern.txt /*\/\\$*
@@ -1848,7 +1855,7 @@ $VIMRUNTIME starting.txt /*$VIMRUNTIME*
:display change.txt /*:display*
:dj tagsrch.txt /*:dj*
:djump tagsrch.txt /*:djump*
-:dl tagsrch.txt /*:dl*
+:dli tagsrch.txt /*:dli*
:dlist tagsrch.txt /*:dlist*
:do autocmd.txt /*:do*
:doau autocmd.txt /*:doau*
@@ -2280,6 +2287,7 @@ $VIMRUNTIME starting.txt /*$VIMRUNTIME*
:rv starting.txt /*:rv*
:rviminfo starting.txt /*:rviminfo*
:s change.txt /*:s*
+:s% change.txt /*:s%*
:sN windows.txt /*:sN*
:sNext windows.txt /*:sNext*
:s\= change.txt /*:s\\=*
@@ -2840,6 +2848,7 @@ CTRL-M motion.txt /*CTRL-M*
CTRL-N motion.txt /*CTRL-N*
CTRL-O motion.txt /*CTRL-O*
CTRL-P motion.txt /*CTRL-P*
+CTRL-Q gui_w32.txt /*CTRL-Q*
CTRL-R undo.txt /*CTRL-R*
CTRL-T tagsrch.txt /*CTRL-T*
CTRL-U scroll.txt /*CTRL-U*
@@ -3653,6 +3662,10 @@ E742 eval.txt /*E742*
E743 eval.txt /*E743*
E744 netbeans.txt /*E744*
E745 eval.txt /*E745*
+E746 eval.txt /*E746*
+E747 syntax.txt /*E747*
+E748 repeat.txt /*E748*
+E749 eval.txt /*E749*
E75 vi_diff.txt /*E75*
E76 pattern.txt /*E76*
E77 message.txt /*E77*
@@ -3922,6 +3935,7 @@ ZZ editing.txt /*ZZ*
[( motion.txt /*[(*
[++opt] editing.txt /*[++opt]*
[+cmd] editing.txt /*[+cmd]*
+[..] pattern.txt /*[..]*
[/ motion.txt /*[\/*
[:alnum:] pattern.txt /*[:alnum:]*
[:alpha:] pattern.txt /*[:alpha:]*
@@ -3940,6 +3954,7 @@ ZZ editing.txt /*ZZ*
[:upper:] pattern.txt /*[:upper:]*
[:xdigit:] pattern.txt /*[:xdigit:]*
[<MiddleMouse> change.txt /*[<MiddleMouse>*
+[==] pattern.txt /*[==]*
[D tagsrch.txt /*[D*
[I tagsrch.txt /*[I*
[M motion.txt /*[M*
@@ -4121,6 +4136,7 @@ autocmds-kept version5.txt /*autocmds-kept*
autocommand autocmd.txt /*autocommand*
autocommand-events autocmd.txt /*autocommand-events*
autocommand-pattern autocmd.txt /*autocommand-pattern*
+autoload eval.txt /*autoload*
autoload-functions eval.txt /*autoload-functions*
avoid-hit-enter version5.txt /*avoid-hit-enter*
aw motion.txt /*aw*
@@ -4385,6 +4401,8 @@ cpo-% options.txt /*cpo-%*
cpo-& options.txt /*cpo-&*
cpo-+ options.txt /*cpo-+*
cpo-- options.txt /*cpo--*
+cpo-. options.txt /*cpo-.*
+cpo-/ options.txt /*cpo-\/*
cpo-< options.txt /*cpo-<*
cpo-> options.txt /*cpo->*
cpo-A options.txt /*cpo-A*
@@ -4404,6 +4422,8 @@ cpo-R options.txt /*cpo-R*
cpo-S options.txt /*cpo-S*
cpo-W options.txt /*cpo-W*
cpo-X options.txt /*cpo-X*
+cpo-Z options.txt /*cpo-Z*
+cpo-\ options.txt /*cpo-\\*
cpo-a options.txt /*cpo-a*
cpo-b options.txt /*cpo-b*
cpo-bar options.txt /*cpo-bar*
@@ -4655,6 +4675,7 @@ evim.vim starting.txt /*evim.vim*
ex starting.txt /*ex*
ex-cmd-index index.txt /*ex-cmd-index*
ex-edit-index index.txt /*ex-edit-index*
+ex-flags cmdline.txt /*ex-flags*
ex: options.txt /*ex:*
except-autocmd eval.txt /*except-autocmd*
except-autocmd-Cmd eval.txt /*except-autocmd-Cmd*
@@ -5048,7 +5069,6 @@ hebrew hebrew.txt /*hebrew*
hebrew.txt hebrew.txt /*hebrew.txt*
help various.txt /*help*
help-context help.txt /*help-context*
-help-tags tags 1
help-translated various.txt /*help-translated*
help-xterm-window various.txt /*help-xterm-window*
help.txt help.txt /*help.txt*
@@ -5503,8 +5523,8 @@ messages message.txt /*messages*
meta intro.txt /*meta*
min() eval.txt /*min()*
minimal-features os_msdos.txt /*minimal-features*
-missing-commands vi_diff.txt /*missing-commands*
missing-options vi_diff.txt /*missing-options*
+mkdir() eval.txt /*mkdir()*
mlang.txt mlang.txt /*mlang.txt*
mode() eval.txt /*mode()*
mode-Ex intro.txt /*mode-Ex*
@@ -6132,6 +6152,7 @@ sign.txt sign.txt /*sign.txt*
signs sign.txt /*signs*
simple-change change.txt /*simple-change*
simplify() eval.txt /*simplify()*
+simulated-command vi_diff.txt /*simulated-command*
single-repeat repeat.txt /*single-repeat*
skeleton autocmd.txt /*skeleton*
slow-fast-terminal term.txt /*slow-fast-terminal*
@@ -6206,6 +6227,7 @@ swap-file recover.txt /*swap-file*
swapfile-changed version4.txt /*swapfile-changed*
syn-sync-grouphere syntax.txt /*syn-sync-grouphere*
syn-sync-groupthere syntax.txt /*syn-sync-groupthere*
+syn-sync-linecont syntax.txt /*syn-sync-linecont*
synID() eval.txt /*synID()*
synIDattr() eval.txt /*synIDattr()*
synIDtrans() eval.txt /*synIDtrans()*
diff --git a/runtime/doc/windows.txt b/runtime/doc/windows.txt
index f9616a72b9..fb7cf9e1c2 100644
--- a/runtime/doc/windows.txt
+++ b/runtime/doc/windows.txt
@@ -1,4 +1,4 @@
-*windows.txt* For Vim version 7.0aa. Last change: 2005 Jan 26
+*windows.txt* For Vim version 7.0aa. Last change: 2005 Feb 18
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -587,7 +587,7 @@ can also get to them with the buffer list commands, like ":bnext".
not split. Also see |++opt| and |+cmd|.
*:sfir* *:sfirst*
-:sfir[st [++opt] [+cmd]
+:sfir[st] [++opt] [+cmd]
Same as ":srewind".
*:sla* *:slast*
diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index fa1908cf70..bbbb6d2c14 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -1,7 +1,7 @@
" Vim support file to detect file types
"
" Maintainer: Bram Moolenaar <Bram@vim.org>
-" Last Change: 2005 Jan 27
+" Last Change: 2005 Feb 18
" Listen very carefully, I will say this only once
if exists("did_load_filetypes")
@@ -512,6 +512,9 @@ au BufNewFile,BufRead *.erl setf erlang
" Elm Filter Rules file
au BufNewFile,BufRead filter-rules setf elmfilt
+" ESMTP rc file
+au BufNewFile,BufRead *esmtprc setf esmtprc
+
" ESQL-C
au BufNewFile,BufRead *.ec,*.EC setf esqlc
diff --git a/runtime/ftplugin/vim.vim b/runtime/ftplugin/vim.vim
index fce830e8ea..698d3ee870 100644
--- a/runtime/ftplugin/vim.vim
+++ b/runtime/ftplugin/vim.vim
@@ -1,7 +1,7 @@
" Vim filetype plugin
" Language: Vim
" Maintainer: Bram Moolenaar <Bram@vim.org>
-" Last Change: 2004 Sep 13
+" Last Change: 2005 Feb 14
" Only do this when not done yet for this buffer
if exists("b:did_ftplugin")
@@ -58,4 +58,6 @@ if exists("loaded_matchit")
endif
let &cpo = cpo_save
-setlocal cpo+=M " makes \%( match \)
+
+" removed this, because 'cpoptions' is a global option.
+" setlocal cpo+=M " makes \%( match \)