diff options
Diffstat (limited to 'runtime/doc')
-rw-r--r-- | runtime/doc/autocmd.txt | 2 | ||||
-rw-r--r-- | runtime/doc/change.txt | 34 | ||||
-rw-r--r-- | runtime/doc/eval.txt | 63 | ||||
-rw-r--r-- | runtime/doc/filetype.txt | 7 | ||||
-rw-r--r-- | runtime/doc/if_cscop.txt | 21 | ||||
-rw-r--r-- | runtime/doc/indent.txt | 32 | ||||
-rw-r--r-- | runtime/doc/map.txt | 23 | ||||
-rw-r--r-- | runtime/doc/motion.txt | 4 | ||||
-rw-r--r-- | runtime/doc/options.txt | 22 | ||||
-rw-r--r-- | runtime/doc/os_win32.txt | 15 | ||||
-rw-r--r-- | runtime/doc/pattern.txt | 5 | ||||
-rw-r--r-- | runtime/doc/pi_getscript.txt | 46 | ||||
-rw-r--r-- | runtime/doc/pi_netrw.txt | 80 | ||||
-rw-r--r-- | runtime/doc/pi_tar.txt | 18 | ||||
-rw-r--r-- | runtime/doc/pi_vimball.txt | 22 | ||||
-rw-r--r-- | runtime/doc/pi_zip.txt | 15 | ||||
-rw-r--r-- | runtime/doc/quickref.txt | 5 | ||||
-rw-r--r-- | runtime/doc/spell.txt | 4 | ||||
-rw-r--r-- | runtime/doc/tags | 62 | ||||
-rw-r--r-- | runtime/doc/todo.txt | 135 | ||||
-rw-r--r-- | runtime/doc/usr_41.txt | 4 | ||||
-rw-r--r-- | runtime/doc/various.txt | 4 |
22 files changed, 393 insertions, 230 deletions
diff --git a/runtime/doc/autocmd.txt b/runtime/doc/autocmd.txt index 145ecf624..40949bb1e 100644 --- a/runtime/doc/autocmd.txt +++ b/runtime/doc/autocmd.txt @@ -1,4 +1,4 @@ -*autocmd.txt* For Vim version 7.3. Last change: 2011 Apr 26 +*autocmd.txt* For Vim version 7.3. Last change: 2011 May 19 VIM REFERENCE MANUAL by Bram Moolenaar diff --git a/runtime/doc/change.txt b/runtime/doc/change.txt index 33599380d..1f92224cf 100644 --- a/runtime/doc/change.txt +++ b/runtime/doc/change.txt @@ -1,4 +1,4 @@ -*change.txt* For Vim version 7.3. Last change: 2011 May 17 +*change.txt* For Vim version 7.3. Last change: 2011 Jun 19 VIM REFERENCE MANUAL by Bram Moolenaar @@ -717,11 +717,13 @@ Otherwise it works on whole lines anyway. *sub-replace-special* *:s\=* When the {string} starts with "\=" it is evaluated as an expression, see -|sub-replace-expression|. You can use that for any special characters. +|sub-replace-expression|. You can use that for complex replacement or special +characters. + Otherwise these characters in {string} have a special meaning: *:s%* When {string} is equal to "%" and '/' is included with the 'cpoptions' option, -then the {string} of the previous substitute command is used. |cpo-/| +then the {string} of the previous substitute command is used, see |cpo-/| magic nomagic action ~ & \& replaced with the whole matched pattern *s/\&* @@ -756,6 +758,14 @@ magic nomagic action ~ \x where x is any character not mentioned above: Reserved for future expansion +The special meaning is also used inside the third argument {sub} of +the |substitute()| function with the following exceptions: + - A % inserts a percent literally without regard to 'cpoptions'. + - magic is always set without regard to 'magic'. + - A ~ inserts a tilde literally. + - <CR> and \r inserts a carriage-return (CTRL-M). + - \<CR> does not have a special meaning. it's just one of \x. + Examples: > :s/a\|b/xxx\0xxx/g modifies "a b" to "xxxaxxx xxxbxxx" :s/\([abc]\)\([efg]\)/\2\1/g modifies "af fa bg" to "fa fa gb" @@ -787,17 +797,19 @@ either the first or second pattern in parentheses did not match, so either Substitute with an expression *sub-replace-expression* *sub-replace-\=* When the substitute string starts with "\=" the remainder is interpreted as an -expression. This does not work recursively: a substitute() function inside +expression. This does not work recursively: a |substitute()| function inside the expression cannot use "\=" for the substitute string. The special meaning for characters as mentioned at |sub-replace-special| does -not apply except for "<CR>", "\<CR>" and "\\". Thus in the result of the -expression you need to use two backslashes to get one, put a backslash before a -<CR> you want to insert, and use a <CR> without a backslash where you want to -break the line. - -For convenience a <NL> character is also used as a line break. Prepend a -backslash to get a real <NL> character (which will be a NUL in the file). +not apply except for "<CR>". A <NL> character is used as a line break, you +can get one with a double-quote string: "\n". Prepend a backslash to get a +real <NL> character (which will be a NUL in the file). + +The "\=" notation can also be used inside the third argument {sub} of +|substitute()| function. In this case, the special meaning for characters as +mentioned at |sub-replace-special| does not apply at all. Especially, <CR> and +<NL> are interpreted not as a line break but as a carriage-return and a +new-line respectively. When the result is a |List| then the items are joined with separating line breaks. Thus each item becomes a line, except that they can contain line diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index 01a59bf82..bcc7fa351 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -1,4 +1,4 @@ -*eval.txt* For Vim version 7.3. Last change: 2011 May 17 +*eval.txt* For Vim version 7.3. Last change: 2011 Jun 19 VIM REFERENCE MANUAL by Bram Moolenaar @@ -721,7 +721,8 @@ if it evaluates to true. *expr-<#* *expr-<=#* *expr-=~#* *expr-!~#* *expr-==?* *expr-!=?* *expr->?* *expr->=?* *expr-<?* *expr-<=?* *expr-=~?* *expr-!~?* - *expr-is* + *expr-is* *expr-isnot* *expr-is#* *expr-isnot#* + *expr-is?* *expr-isnot?* use 'ignorecase' match case ignore case ~ equal == ==# ==? not equal != !=# !=? @@ -731,8 +732,8 @@ smaller than < <# <? smaller than or equal <= <=# <=? regexp matches =~ =~# =~? regexp doesn't match !~ !~# !~? -same instance is -different instance isnot +same instance is is# is? +different instance isnot isnot# isnot? Examples: "abc" ==# "Abc" evaluates to 0 @@ -753,12 +754,14 @@ recursively. Ignoring case means case is ignored when comparing item values. A |Funcref| can only be compared with a |Funcref| and only "equal" and "not equal" can be used. Case is never ignored. -When using "is" or "isnot" with a |List| this checks if the expressions are -referring to the same |List| instance. A copy of a |List| is different from -the original |List|. When using "is" without a |List| it is equivalent to -using "equal", using "isnot" equivalent to using "not equal". Except that a -different type means the values are different. "4 == '4'" is true, "4 is '4'" -is false. +When using "is" or "isnot" with a |List| or a |Dictionary| this checks if the +expressions are referring to the same |List| or |Dictionary| instance. A copy +of a |List| is different from the original |List|. When using "is" without +a |List| or a |Dictionary| it is equivalent to using "equal", using "isnot" +equivalent to using "not equal". Except that a different type means the +values are different: "4 == '4'" is true, "4 is '4'" is false and "0 is []" is +false and not a error. "is#"/"isnot#" and "is?"/"isnot?" can be used to match +and ignore case. When comparing a String with a Number, the String is converted to a Number, and the comparison is done on Numbers. This means that "0 == 'x'" is TRUE, @@ -1293,7 +1296,7 @@ v:beval_winnr The number of the window, over which the mouse pointer is. Only *v:char* *char-variable* v:char Argument for evaluating 'formatexpr' and used for the typed character when using <expr> in an abbreviation |:map-<expr>|. - It is also used by the |InsertPreChar| event. + It is also used by the |InsertCharPre| event. *v:charconvert_from* *charconvert_from-variable* v:charconvert_from @@ -1943,7 +1946,7 @@ strridx( {haystack}, {needle} [, {start}]) Number last index of {needle} in {haystack} strtrans( {expr}) String translate string to make it printable strwidth( {expr}) Number display cell length of the String {expr} -submatch( {nr}) String specific match in ":substitute" +submatch( {nr}) String specific match in ":s" or substitute() substitute( {expr}, {pat}, {sub}, {flags}) String all {pat} in {expr} replaced with {sub} synID( {lnum}, {col}, {trans}) Number syntax ID at {lnum} and {col} @@ -5557,9 +5560,11 @@ strwidth({expr}) *strwidth()* Also see |strlen()|, |strdisplaywidth()| and |strchars()|. submatch({nr}) *submatch()* - Only for an expression in a |:substitute| command. Returns - the {nr}'th submatch of the matched text. When {nr} is 0 - the whole matched text is returned. + Only for an expression in a |:substitute| command or + substitute() function. + Returns the {nr}'th submatch of the matched text. When {nr} + is 0 the whole matched text is returned. + Also see |sub-replace-expression|. Example: > :s/\d\+/\=submatch(0) + 1/ < This finds the first number in the line and adds one to it. @@ -5567,27 +5572,32 @@ submatch({nr}) *submatch()* substitute({expr}, {pat}, {sub}, {flags}) *substitute()* The result is a String, which is a copy of {expr}, in which - the first match of {pat} is replaced with {sub}. This works - like the ":substitute" command (without any flags). But the - matching with {pat} is always done like the 'magic' option is - set and 'cpoptions' is empty (to make scripts portable). - 'ignorecase' is still relevant. 'smartcase' is not used. - See |string-match| for how {pat} is used. - And a "~" in {sub} is not replaced with the previous {sub}. + the first match of {pat} is replaced with {sub}. + When {flags} is "g", all matches of {pat} in {expr} are + replaced. Otherwise {flags} should be "". + + This works like the ":substitute" command (without any flags). + But the matching with {pat} is always done like the 'magic' + option is set and 'cpoptions' is empty (to make scripts + portable). 'ignorecase' is still relevant. 'smartcase' is + not used. See |string-match| for how {pat} is used. + + A "~" in {sub} is not replaced with the previous {sub}. Note that some codes in {sub} have a special meaning |sub-replace-special|. For example, to replace something with "\n" (two characters), use "\\\\n" or '\\n'. + When {pat} does not match in {expr}, {expr} is returned unmodified. - When {flags} is "g", all matches of {pat} in {expr} are - replaced. Otherwise {flags} should be "". + Example: > :let &path = substitute(&path, ",\\=[^,]*$", "", "") < This removes the last component of the 'path' option. > :echo substitute("testing", ".*", "\\U\\0", "") < results in "TESTING". - The {sub} argument can start with \=, just like with - |:substitute|. Example: > + + When {sub} starts with "\=", the remainder is interpreted as + an expression. See |sub-replace-expression|. Example: > :echo substitute(s, '%\(\x\x\)', \ '\=nr2char("0x" . submatch(1))', 'g') @@ -6226,7 +6236,6 @@ netbeans_enabled Compiled with support for |netbeans| and connected. netbeans_intg Compiled with support for |netbeans|. ole Compiled with OLE automation support for Win32. os2 OS/2 version of Vim. -osfiletype Compiled with support for osfiletypes |+osfiletype| path_extra Compiled with up/downwards search in 'path' and 'tags' perl Compiled with Perl interface. persistent_undo Compiled with support for persistent undo history. diff --git a/runtime/doc/filetype.txt b/runtime/doc/filetype.txt index c76adfc77..67a5c147f 100644 --- a/runtime/doc/filetype.txt +++ b/runtime/doc/filetype.txt @@ -1,4 +1,4 @@ -*filetype.txt* For Vim version 7.3. Last change: 2008 Jul 15 +*filetype.txt* For Vim version 7.3. Last change: 2011 Jun 19 VIM REFERENCE MANUAL by Bram Moolenaar @@ -270,6 +270,9 @@ directories! *autocmd-osfiletypes* +NOTE: this code is currently disabled, as the RISC OS implementation was +removed. In the future this will use the 'filetype' option. + On operating systems which support storing a file type with the file, you can specify that an autocommand should only be executed if the file is of a certain type. @@ -296,8 +299,6 @@ must both match): > This will match files of type "&fff" whose names start with "diff". -Note that osfiletype checking is skipped if Vim is compiled without the -|+osfiletype| feature. *plugin-details* The "plugin" directory can be in any of the directories in the 'runtimepath' diff --git a/runtime/doc/if_cscop.txt b/runtime/doc/if_cscop.txt index f3f1a4970..5adb1e77f 100644 --- a/runtime/doc/if_cscop.txt +++ b/runtime/doc/if_cscop.txt @@ -1,4 +1,4 @@ -*if_cscop.txt* For Vim version 7.3. Last change: 2010 Sep 29 +*if_cscop.txt* For Vim version 7.3. Last change: 2011 Jun 12 VIM REFERENCE MANUAL by Andy Kahn @@ -264,19 +264,20 @@ seems to be useful: > :set cscopequickfix=s-,c-,d-,i-,t-,e- < *cscopetag* *cst* -If 'cscopetag' set, the commands ":tag" and CTRL-] as well as "vim -t" will -always use |:cstag| instead of the default :tag behavior. Effectively, by -setting 'cst', you will always search your cscope databases as well as your -tag files. The default is off. Examples: > +If 'cscopetag' is set, the commands ":tag" and CTRL-] as well as "vim -t" +will always use |:cstag| instead of the default :tag behavior. Effectively, +by setting 'cst', you will always search your cscope databases as well as +your tag files. The default is off. Examples: > :set cst :set nocst < *cscoperelative* *csre* -If 'cscoperelative' set, then in absence of a prefix given to cscope (prefx -is the argument to -P option of cscope), basename of cscope.out location -(usually the project root directory) will be used as the prefix to construt -absolute path.The default is off. Note: This option is only effective when -cscope (cscopeprg) is initialized without a prefix path (-P). Examples: > +If 'cscoperelative' is set, then in absence of a prefix given to cscope +(prefix is the argument of -P option of cscope), basename of cscope.out +location (usually the project root directory) will be used as the prefix +to construct an absolute path. The default is off. Note: This option is +only effective when cscope (cscopeprg) is initialized without a prefix +path (-P). Examples: > :set csre :set nocsre < diff --git a/runtime/doc/indent.txt b/runtime/doc/indent.txt index f2600d3ce..44c76c2d9 100644 --- a/runtime/doc/indent.txt +++ b/runtime/doc/indent.txt @@ -1,4 +1,4 @@ -*indent.txt* For Vim version 7.3. Last change: 2011 Apr 25 +*indent.txt* For Vim version 7.3. Last change: 2011 May 31 VIM REFERENCE MANUAL by Bram Moolenaar @@ -561,13 +561,15 @@ REMARKS ABOUT SPECIFIC INDENT FILES ~ FORTRAN *ft-fortran-indent* -Block if, select case, and where constructs are indented. Comments, labelled -statements and continuation lines are indented if the Fortran is in free -source form, whereas they are not indented if the Fortran is in fixed source -form because of the left margin requirements. Hence manual indent corrections -will be necessary for labelled statements and continuation lines when fixed -source form is being used. For further discussion of the method used for the -detection of source format see |ft-fortran-syntax|. +Block if, select case, where, and forall constructs are indented. So are +type, interface, associate, block, and enum constructs. The indenting of +subroutines, functions, modules, and program blocks is optional. Comments, +labelled statements and continuation lines are indented if the Fortran is in +free source form, whereas they are not indented if the Fortran is in fixed +source form because of the left margin requirements. Hence manual indent +corrections will be necessary for labelled statements and continuation lines +when fixed source form is being used. For further discussion of the method +used for the detection of source format see |ft-fortran-syntax|. Do loops ~ All do loops are left unindented by default. Do loops can be unstructured in @@ -594,6 +596,20 @@ autocommand such as > to get do loops indented in .f90 files and left alone in Fortran files with other extensions such as .for. +Program units ~ +The indenting of program units (subroutines, functions, modules, and program +blocks) is enabled by default but can be suppressed if a lighter, screen-width +preserving indent style is desired. To suppress the indenting of program +units for all fortran files set the global fortran_indent_less variable in +your .vimrc as follows > + + let fortran_indent_less=1 + +A finer level of suppression can be achieved by setting the corresponding +buffer-local variable as follows > + + let b:fortran_indent_less=1 + PHP *ft-php-indent* *php-indent* *php-indenting* diff --git a/runtime/doc/map.txt b/runtime/doc/map.txt index ceb29013d..103cb54bb 100644 --- a/runtime/doc/map.txt +++ b/runtime/doc/map.txt @@ -1,4 +1,4 @@ -*map.txt* For Vim version 7.3. Last change: 2011 May 10 +*map.txt* For Vim version 7.3. Last change: 2011 Jun 13 VIM REFERENCE MANUAL by Bram Moolenaar @@ -107,6 +107,8 @@ modes. :cmapc[lear] |mapmode-c| *:cmapc* *:cmapclear* Remove ALL mappings for the modes where the map command applies. {not in Vi} + Use the <buffer> argument to remove buffer-local + mappings |:map-<buffer>| Warning: This also removes the default mappings. :map |mapmode-nvo| @@ -934,11 +936,12 @@ See |:verbose-cmd| for more information. avoid that a typed {lhs} is expanded, since command-line abbreviations apply here. -:ab[breviate] [<expr>] {lhs} {rhs} +:ab[breviate] [<expr>] [<buffer>] {lhs} {rhs} add abbreviation for {lhs} to {rhs}. If {lhs} already existed it is replaced with the new {rhs}. {rhs} may contain spaces. See |:map-<expr>| for the optional <expr> argument. + See |:map-<buffer>| for the optional <buffer> argument. *:una* *:unabbreviate* :una[bbreviate] {lhs} Remove abbreviation for {lhs} from the list. If none @@ -948,12 +951,12 @@ See |:verbose-cmd| for more information. expansion insert a CTRL-V (type it twice). *:norea* *:noreabbrev* -:norea[bbrev] [<expr>] [lhs] [rhs] +:norea[bbrev] [<expr>] [<buffer>] [lhs] [rhs] same as ":ab", but no remapping for this {rhs} {not in Vi} *:ca* *:cabbrev* -:ca[bbrev] [<expr>] [lhs] [rhs] +:ca[bbrev] [<expr>] [<buffer>] [lhs] [rhs] same as ":ab", but for Command-line mode only. {not in Vi} @@ -962,12 +965,12 @@ See |:verbose-cmd| for more information. in Vi} *:cnorea* *:cnoreabbrev* -:cnorea[bbrev] [<expr>] [lhs] [rhs] +:cnorea[bbrev] [<expr>] [<buffer>] [lhs] [rhs] same as ":ab", but for Command-line mode only and no remapping for this {rhs} {not in Vi} *:ia* *:iabbrev* -:ia[bbrev] [<expr>] [lhs] [rhs] +:ia[bbrev] [<expr>] [<buffer>] [lhs] [rhs] same as ":ab", but for Insert mode only. {not in Vi} *:iuna* *:iunabbrev* @@ -975,18 +978,18 @@ See |:verbose-cmd| for more information. Vi} *:inorea* *:inoreabbrev* -:inorea[bbrev] [<expr>] [lhs] [rhs] +:inorea[bbrev] [<expr>] [<buffer>] [lhs] [rhs] same as ":ab", but for Insert mode only and no remapping for this {rhs} {not in Vi} *:abc* *:abclear* -:abc[lear] Remove all abbreviations. {not in Vi} +:abc[lear] [<buffer>] Remove all abbreviations. {not in Vi} *:iabc* *:iabclear* -:iabc[lear] Remove all abbreviations for Insert mode. {not in Vi} +:iabc[lear] [<buffer>] Remove all abbreviations for Insert mode. {not in Vi} *:cabc* *:cabclear* -:cabc[lear] Remove all abbreviations for Command-line mode. {not +:cabc[lear] [<buffer>] Remove all abbreviations for Command-line mode. {not in Vi} *using_CTRL-V* diff --git a/runtime/doc/motion.txt b/runtime/doc/motion.txt index 04d77feff..d8a890622 100644 --- a/runtime/doc/motion.txt +++ b/runtime/doc/motion.txt @@ -1,4 +1,4 @@ -*motion.txt* For Vim version 7.3. Last change: 2010 May 14 +*motion.txt* For Vim version 7.3. Last change: 2011 Jun 02 VIM REFERENCE MANUAL by Bram Moolenaar @@ -344,6 +344,8 @@ gg Goto line [count], default first line, on the first last number in it used as the byte count. End-of-line characters are counted depending on the current 'fileformat' setting. + Also see the |line2byte()| function, and the 'o' + option in 'statusline'. {not in Vi} {not available when compiled without the |+byte_offset| feature} diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index 5759760a1..91623c10f 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -1,4 +1,4 @@ -*options.txt* For Vim version 7.3. Last change: 2011 May 17 +*options.txt* For Vim version 7.3. Last change: 2011 Jun 12 VIM REFERENCE MANUAL by Bram Moolenaar @@ -2933,8 +2933,6 @@ A jump table for the options with a short description can be found at |Q_op|. This will use the "c" filetype first, then the "doxygen" filetype. This works both for filetype plugins and for syntax files. More than one dot may appear. - Do not confuse this option with 'osfiletype', which is for the file - type that is actually stored with the file. This option is not copied to another buffer, independent of the 's' or 'S' flag in 'cpoptions'. Only normal file name characters can be used, "/\*?[|<>" are illegal. @@ -3405,7 +3403,7 @@ A jump table for the options with a short description can be found at |Q_op|. :highlight Cursor gui=NONE guifg=bg guibg=fg < *'guifont'* *'gfn'* - *E235* *E596* *E610* *E611* + *E235* *E596* 'guifont' 'gfn' string (default "") global {not in Vi} @@ -5123,20 +5121,12 @@ A jump table for the options with a short description can be found at |Q_op|. security reasons. - *'osfiletype'* *'oft'* *E366* -'osfiletype' 'oft' string (RISC-OS default: "Text", - others default: "") + *'osfiletype'* *'oft'* +'osfiletype' 'oft' string (default: "") local to buffer {not in Vi} - {only available when compiled with the |+osfiletype| - feature} - Some operating systems store extra information about files besides - name, datestamp and permissions. This option contains the extra - information, the nature of which will vary between systems. - The value of this option is usually set when the file is loaded, and - is used to set the operating system file type when file is written. - It can affect the pattern matching of the automatic commands. - |autocmd-osfiletypes| + This option was supported on RISC OS, which has been removed. + *'paragraphs'* *'para'* 'paragraphs' 'para' string (default "IPLPPPQPP TPHPLIPpLpItpplpipbp") diff --git a/runtime/doc/os_win32.txt b/runtime/doc/os_win32.txt index 7f224f82a..92e85c77b 100644 --- a/runtime/doc/os_win32.txt +++ b/runtime/doc/os_win32.txt @@ -1,4 +1,4 @@ -*os_win32.txt* For Vim version 7.3. Last change: 2010 Dec 19 +*os_win32.txt* For Vim version 7.3. Last change: 2011 May 28 VIM REFERENCE MANUAL by George Reilly @@ -321,13 +321,14 @@ A. When using :! to run an external command, you can run it with "start": > Q. How do I avoid getting a window for programs that I run asynchronously? A. You have two possible solutions depending on what exactly do you want: - 1) You may use the /min flag that would run program in minimized state with - no other changes. It will work equally for console and GUI applications. - 2) You can use /b flag to run console applications without creating a + 1) You may use the /min flag in order to run program in a minimized state + with no other changes. It will work equally for console and GUI + applications. + 2) You can use the /b flag to run console applications without creating a console window for them (GUI applications are not affected). But you - should use this flag only if application you run doesn't require any - input. Otherwise it will get an EOF error because it's input stream - (stdin) would be redirected to \\.\NUL (stdour and stderr too). + should use this flag only if the application you run doesn't require any + input. Otherwise it will get an EOF error because its input stream + (stdin) would be redirected to \\.\NUL (stdoud and stderr too). Example for a console application, run Exuberant ctags: > :!start /min ctags -R . diff --git a/runtime/doc/pattern.txt b/runtime/doc/pattern.txt index 84cd7360a..9930a3b80 100644 --- a/runtime/doc/pattern.txt +++ b/runtime/doc/pattern.txt @@ -1,4 +1,4 @@ -*pattern.txt* For Vim version 7.3. Last change: 2011 Apr 28 +*pattern.txt* For Vim version 7.3. Last change: 2011 May 25 VIM REFERENCE MANUAL by Bram Moolenaar @@ -635,7 +635,8 @@ overview. Like '(?!pattern)" in Perl. Example matches ~ foo\(bar\)\@! any "foo" not followed by "bar" - a.\{-}p\@! "a", "ap", "app", etc. not followed by a "p" + a.\{-}p\@! "a", "ap", "aap", "app", etc. not immediately + followed by a "p" if \(\(then\)\@!.\)*$ "if " not followed by "then" Using "\@!" is tricky, because there are many places where a pattern diff --git a/runtime/doc/pi_getscript.txt b/runtime/doc/pi_getscript.txt index 8d4e4719c..86e3cdd0c 100644 --- a/runtime/doc/pi_getscript.txt +++ b/runtime/doc/pi_getscript.txt @@ -1,11 +1,11 @@ -*pi_getscript.txt* For Vim version 7.3. Last change: 2009 Oct 14 +*pi_getscript.txt* For Vim version 7.0. Last change: 2011 May 31 > GETSCRIPT REFERENCE MANUAL by Charles E. Campbell, Jr. < Authors: Charles E. Campbell, Jr. <NdrOchip@ScampbellPfamilyA.Mbiz> (remove NOSPAM from the email address) *GetLatestVimScripts-copyright* -Copyright: (c) 2004-2009 by Charles E. Campbell, Jr. *glvs-copyright* +Copyright: (c) 2004-2010 by Charles E. Campbell, Jr. *glvs-copyright* The VIM LICENSE applies to getscript.vim and pi_getscript.txt (see |copyright|) except use "getscript" instead of "Vim". No warranty, express or implied. @@ -77,7 +77,9 @@ Your computer needs to have wget or curl for GetLatestVimScripts to do its work. 3. GetLatestVimScripts Usage *glvs-usage* *:GLVS* Unless it has been defined elsewhere, > + :GLVS + will invoke GetLatestVimScripts(). If some other plugin has defined that command, then you may type > @@ -127,7 +129,8 @@ click on the script's link, you'll see a line resembling http://vim.sourceforge.net/scripts/script.php?script_id=40 The "40" happens to be a ScriptID that GetLatestVimScripts needs to -download the associated page. +download the associated page, and is assigned by vim.sf.net itself +during initial uploading of the plugin. The second number on each line gives the script's SourceID. The SourceID records the count of uploaded scripts as determined by vim.sf.net; hence it @@ -151,19 +154,39 @@ This comment line tells getscript.vim to check vimscript #884 and that the script is automatically installable. Getscript will also use this line to help build the GetLatestVimScripts.dat file, by including a line such as: > - 884 1 AutoAlign.vim + 884 1 :AutoInstall: AutoAlign.vim < -in it an AutoAlign.vim line isn't already in GetLatestVimScripts.dat file. +assuming that such a line isn't already in GetLatestVimScripts.dat file. See |glvs-plugins| for more. Thus, GetLatestVimScripts thus provides a comprehensive ability to keep your plugins up-to-date! +In summary: + + * Optionally tell getscript that it is allowed to build/append a + GetLatestVimScripts.dat file based upon already installed plugins: > + let g:GetLatestVimScripts_allowautoinstall=1 +< + * A line such as > + " GetLatestVimScripts: 884 1 :AutoInstall: AutoAlign.vim +< in an already-downloaded plugin constitutes the concurrence of the + plugin author that getscript may do AutoInstall. Not all plugins + may be AutoInstall-able, and the plugin's author is best situated + to know whether or not his/her plugin will AutoInstall properly. + + * A line such as > + 884 1 :AutoInstall: AutoAlign.vim +< in your GetLatestVimScripts.dat file constitutes your permission + to getscript to do AutoInstall. AutoInstall requires both your + and the plugin author's permission. See |GetLatestVimScripts_dat|. + + *GetLatestVimScripts_dat* As an example of a <GetLatestVimScripts.dat> file: > ScriptID SourceID Filename -------------------------- - 294 1 Align.vim - 120 2 decho.vim + 294 1 :AutoInstall: Align.vim + 120 2 Decho.vim 40 3 DrawIt.tar.gz 451 4 EasyAccents.vim 195 5 engspchk.vim @@ -201,8 +224,8 @@ are, then you may include :AutoInstall: just before "yourscriptname": ^ scriptid < -NOTE: :AutoInstall: is a plugin-author option, not a GetLatestVimScripts.dat~ - entry!~ +NOTE: The :AutoInstall: feature requires both the plugin author's and~ + the user's permission to operate!~ GetLatestVimScripts commands for those scripts are then appended, if not already present, to the user's GetLatest/GetLatestVimScripts.dat file. It is @@ -210,7 +233,7 @@ a relatively painless way to automate the acquisition of any scripts your plugins depend upon. Now, as an author, you probably don't want GetLatestVimScripts to download -your own scripts for you yourself, thereby overwriting your not-yet-released +your own scripts atop your own copy, thereby overwriting your not-yet-released hard work. GetLatestVimScripts provides a solution for this: put > 0 0 yourscriptname @@ -351,6 +374,9 @@ The AutoInstall process will: ============================================================================== 9. GetLatestVimScripts History *getscript-history* *glvs-hist* {{{1 +v33 May 31, 2011 : * using fnameescape() instead of escape() + * *.xz support +v32 Jun 19, 2010 : * (Jan Steffens) added support for xz compression v31 Jun 29, 2008 : * (Bill McCarthy) fixed having hls enabled with getscript * (David Schaefer) the acd option interferes with vimballs Solution: bypass the acd option diff --git a/runtime/doc/pi_netrw.txt b/runtime/doc/pi_netrw.txt index ae4a87050..1ee4b6a52 100644 --- a/runtime/doc/pi_netrw.txt +++ b/runtime/doc/pi_netrw.txt @@ -1,4 +1,4 @@ -*pi_netrw.txt* For Vim version 7.3. Last change: 2011 Apr 01 +*pi_netrw.txt* For Vim version 7.3. Last change: 2011 May 31 ----------------------------------------------------- NETRW REFERENCE MANUAL by Charles E. Campbell, Jr. @@ -273,7 +273,7 @@ SOURCING *netrw-source* {{{2 :Nsource "scp://[user@]machine[[:#]port]/path" uses scp :Nsource "sftp://[user@]machine/path" uses sftp -DIRECTORY LISTING *netrw-dirlist* {{{2 +DIRECTORY LISTING *netrw-trailingslash* *netrw-dirlist* {{{2 One may browse a directory to get a listing by simply attempting to edit the directory: > @@ -281,14 +281,15 @@ DIRECTORY LISTING *netrw-dirlist* {{{2 :e scp://[user]@hostname/path/ :e ftp://[user]@hostname/path/ < - For remote directories (ie. those using scp or ftp), that trailing - "/" is necessary (the slash tells netrw to treat the argument as a - directory to browse instead of a file to download). + For remote directory listings (ie. those using scp or ftp), that + trailing "/" is necessary (the slash tells netrw to treat the argument + as a directory to browse instead of as a file to download). - However, the Nread command can also be used to accomplish this: - - :Nread [protocol]://[user]@hostname/path/ + The Nread command may also be used to accomplish this (again, that + trailing slash is necessary): > + :Nread [protocol]://[user]@hostname/path/ +< *netrw-login* *netrw-password* CHANGING USERID AND PASSWORD *netrw-chgup* *netrw-userpass* {{{2 @@ -2158,8 +2159,8 @@ your browsing preferences. (see also: |netrw-settings|) *g:netrw_mkdir_cmd* command for making a remote directory default: "ssh USEPORT HOSTNAME mkdir" - *g:netrw_mousemaps* =1 (default) enables the mouse buttons - while browsing: + *g:netrw_mousemaps* =1 (default) enables mouse buttons while + browsing to: leftmouse : open file/directory shift-leftmouse : mark file middlemouse : same as P @@ -2274,8 +2275,11 @@ your browsing preferences. (see also: |netrw-settings|) *g:netrw_winsize* specify initial size of new windows made with "o" (see |netrw-o|), "v" (see |netrw-v|), - |:Hexplore| or |:Vexplore|. - default: "" + |:Hexplore| or |:Vexplore|. The g:netrw_winsize + is an integer describing the percentage of the + current netrw buffer's window to be used for + the new window. + default: 50 (for 50%) *g:netrw_xstrlen* Controls how netrw computes string lengths, including multi-byte characters' string @@ -2660,7 +2664,7 @@ Associated setting variables: |g:netrw_chgwin| *netrw-p11* P11. I want to have two windows; a thin one on the left and my editing - window on the right. How can I do this? + window on the right. How may I accomplish this? * Put the following line in your <.vimrc>: let g:netrw_altv = 1 @@ -2706,7 +2710,45 @@ Associated setting variables: |g:netrw_chgwin| "let g:netrw_sftp_cmd = "d:\\dev\\putty\\PSFTP.exe" "let g:netrw_scp_cmd = "d:\\dev\\putty\\PSCP.exe" < + *netrw-p14* + P14. I'd would like to speed up writes using Nwrite and scp/ssh + style connections. How? (Thomer M. Gil) + + Try using ssh's ControlMaster and ControlPath (see the ssh_config + man page) to share multiple ssh connections over a single network + connection. That cuts out the cryptographic handshake on each + file write, sometimes speeding it up by an order of magnitude. + (see http://thomer.com/howtos/netrw_ssh.html) + (included by permission) + + Add the following to your ~/.ssh/config: > + + # you change "*" to the hostname you care about + Host * + ControlMaster auto + ControlPath /tmp/%r@%h:%p + +< Then create an ssh connection to the host and leave it running: > + + ssh -N host.domain.com + +< Now remotely open a file with Vim's Netrw and enjoy the + zippiness: > + + vim scp://host.domain.com//home/user/.bashrc +< + *netrw-p15* + P15. How may I use a double-click instead of netrw's usual single click + to open a file or directory? (Ben Fritz) + First, disable netrw's mapping with > + let g:netrw_mousemaps= 0 +< and then create a netrw buffer only mapping in + $HOME/.vim/after/ftplugin/netrw.vim: > + nmap <buffer> <2-leftmouse> <CR> +< Note that setting g:netrw_mousemaps to zero will turn off + all netrw's mouse mappings, not just the <leftmouse> one. + (see |g:netrw_mousemaps|) ============================================================================== 11. Debugging Netrw Itself *netrw-debug* {{{1 @@ -2762,6 +2804,15 @@ which is loaded automatically at startup (assuming :set nocp). ============================================================================== 12. History *netrw-history* {{{1 + v142: Apr 06, 2011 * I modified NetrwRemoteListing() to use + shellescape(fnameescape(s:path),1) for + the benefit of those using scp://.../ + with subdirectories having spaces. + Problem reported by: Gilles Charron + Apr 18, 2011 * s:NetrwMethod() attempts to issue an + error message when given a malformed url + Apr 29, 2011 * converted most mousemaps to use <Plug>s + * |g:netrw_winsize|'s meaning changed v141: Aug 28, 2010 * added -s:... support for Windows ftp * restored 2-leftmouse for :Rex-like return * added balloon help for banner @@ -2772,6 +2823,9 @@ which is loaded automatically at startup (assuming :set nocp). Avoids "... is a directory" message, works inside a try-catch-endtry clause. Feb 22, 2011 * for menus, &go =~# used to insure correct case + Apr 01, 2011 * changed g:netrw_cursorcolumn to g:netrw_cursor + In addition, there's more supported settings for + it. v140: Jul 27, 2010 * (Lech Lorens) unexpected change of window v139: May 14, 2010 * when viewing remote directory listings and changing listing style, going to tree listing diff --git a/runtime/doc/pi_tar.txt b/runtime/doc/pi_tar.txt index d24de0932..ab98f4a8c 100644 --- a/runtime/doc/pi_tar.txt +++ b/runtime/doc/pi_tar.txt @@ -1,4 +1,4 @@ -*pi_tar.txt* For Vim version 7.3. Last change: 2010 Nov 03 +*pi_tar.txt* For Vim version 7.3. Last change: 2011 May 31 +====================+ | Tar File Interface | @@ -60,11 +60,11 @@ Copyright 2005-2010: The GPL (gnu public license) applies to *tar-copyright* <.vimrc> file. Default Variable Value Explanation - *g:tar_browseoptions* "Ptf" used to get a list of contents - *g:tar_readoptions* "OPxf" used to extract a file from a tarball - *g:tar_cmd* "tar" the name of the tar program - *g:tar_nomax* 0 if true, file window will not be maximized - *g:tar_secure* undef if exists: + *g:tar_browseoptions* "Ptf" used to get a list of contents + *g:tar_readoptions* "OPxf" used to extract a file from a tarball + *g:tar_cmd* "tar" the name of the tar program + *g:tar_nomax* 0 if true, file window will not be maximized + *g:tar_secure* undef if exists: "--"s will be used to prevent unwanted option expansion in tar commands. Please be sure that your tar command @@ -76,15 +76,19 @@ Copyright 2005-2010: The GPL (gnu public license) applies to *tar-copyright* "-" Not all tar's support the "--" which is why it isn't default. - *g:tar_writeoptions* "uf" used to update/replace a file + *g:tar_writeoptions* "uf" used to update/replace a file ============================================================================== 4. History *tar-history* + v27 May 31, 2011 * moved cygwin detection before g:tar_copycmd handling + * inserted additional |:keepj| modifiers + * changed silent to sil! (|:silent|) v26 Aug 09, 2010 * uses buffer-local instead of window variables to hold tarfile name + * inserted keepj before 0d to protect jump list v25 Jun 19, 2010 * (Jan Steffens) added support for xz compression v24 Apr 07, 2009 * :Untarvim command implemented Sep 28, 2009 * Added lzma support diff --git a/runtime/doc/pi_vimball.txt b/runtime/doc/pi_vimball.txt index 4debe24e4..4d5a23716 100644 --- a/runtime/doc/pi_vimball.txt +++ b/runtime/doc/pi_vimball.txt @@ -1,4 +1,4 @@ -*pi_vimball.txt* For Vim version 7.3. Last change: 2010 Apr 12 +*pi_vimball.txt* For Vim version 7.3. Last change: 2011 Apr 02 ---------------- Vimball Archiver @@ -6,7 +6,7 @@ Author: Charles E. Campbell, Jr. <NdrOchip@ScampbellPfamily.AbizM> (remove NOSPAM from Campbell's email first) -Copyright: (c) 2004-2009 by Charles E. Campbell, Jr. *Vimball-copyright* +Copyright: (c) 2004-2011 by Charles E. Campbell, Jr. *Vimball-copyright* The VIM LICENSE applies to Vimball.vim, and Vimball.txt (see |copyright|) except use "Vimball" instead of "Vim". No warranty, express or implied. @@ -176,6 +176,22 @@ WINDOWS *vimball-windows* ============================================================================== 4. Vimball History *vimball-history* {{{1 + 33 : Apr 02, 2011 * Gave priority to *.vmb over *.vba + * Changed silent! to sil! (shorter) + * Safed |'swf'| setting (during vimball extraction, + its now turned off) + 32 : May 19, 2010 * (Christian Brabrandt) :so someplugin.vba and + :so someplugin.vba.gz (and the other supported + compression types) now works + * (Jan Steffens) added support for xz compression + * fenc extraction was erroneously picking up the + end of the line number when no file encoding + was present. Fixed. + * By request, beginning the switchover from the vba + extension to vmb. Currently both are supported; + MkVimball, however, now will create *.vmb files. + Feb 11, 2011 * motoyakurotsu reported an error with vimball's + handling of zero-length files 30 : Dec 08, 2008 * fnameescape() inserted to protect error messaging using corrupted filenames from causing problems @@ -199,6 +215,8 @@ WINDOWS *vimball-windows* causing problems as reported by Zhang Shuhan 24 : Nov 15, 2007 * g:vimball_path_escape used by s:Path() to prevent certain characters from causing trouble + (defunct: |fnameescape()| and |shellescape()| + now used instead) 22 : Mar 21, 2007 * uses setlocal instead of set during BufEnter 21 : Nov 27, 2006 * (tnx to Bill McCarthy) vimball had a header handling problem and it now changes \s to /s diff --git a/runtime/doc/pi_zip.txt b/runtime/doc/pi_zip.txt index 6ad6e31ee..25242b863 100644 --- a/runtime/doc/pi_zip.txt +++ b/runtime/doc/pi_zip.txt @@ -1,4 +1,4 @@ -*pi_zip.txt* For Vim version 7.3. Last change: 2010 Sep 14 +*pi_zip.txt* For Vim version 7.3. Last change: 2011 May 24 +====================+ | Zip File Interface | @@ -6,7 +6,7 @@ Author: Charles E. Campbell, Jr. <NdrOchip@ScampbellPfamily.AbizM> (remove NOSPAM from Campbell's email first) -Copyright: Copyright (C) 2005-2009 Charles E Campbell, Jr *zip-copyright* +Copyright: Copyright (C) 2005-2011 Charles E Campbell, Jr *zip-copyright* Permission is hereby granted to use and distribute this code, with or without modifications, provided that this copyright notice is copied with it. Like anything else that's free, @@ -17,14 +17,14 @@ Copyright: Copyright (C) 2005-2009 Charles E Campbell, Jr *zip-copyright* the use of this software. ============================================================================== -1. Contents *zip* *zip-contents* +1. Contents *zip* *zip-contents* 1. Contents................................................|zip-contents| 2. Usage...................................................|zip-usage| 3. Additional Extensions...................................|zip-extension| 4. History.................................................|zip-history| ============================================================================== -2. Usage *zip-usage* *zip-manual* +2. Usage *zip-usage* *zip-manual* When one edits a *.zip file, this plugin will handle displaying a contents page. Select a file to edit by moving the cursor atop @@ -69,6 +69,7 @@ Copyright: Copyright (C) 2005-2009 Charles E Campbell, Jr *zip-copyright* let g:loaded_zipPlugin= 1 let g:loaded_zip = 1 < +< ============================================================================== 3. Additional Extensions *zip-extension* @@ -83,7 +84,11 @@ Copyright: Copyright (C) 2005-2009 Charles E Campbell, Jr *zip-copyright* should be treated as zip files. ============================================================================== -4. History *zip-history* {{{1 +4. History *zip-history* {{{1 + v24 Jun 21, 2010 * (Cédric Bosdonnat) unzip seems to need its filenames + fnameescape'd as well as shellquote'd + * (Motoya Kurotsu) inserted keepj before 0d to protect + jump list v17 May 09, 2008 * arno caught a security bug v15 Sep 07, 2007 * &shq now used if not the empty string for g:zip_shq v14 May 07, 2007 * using b:zipfile instead of w:zipfile to avoid problem diff --git a/runtime/doc/quickref.txt b/runtime/doc/quickref.txt index 5bf410ec1..c14818ac5 100644 --- a/runtime/doc/quickref.txt +++ b/runtime/doc/quickref.txt @@ -1,4 +1,4 @@ -*quickref.txt* For Vim version 7.3. Last change: 2010 Dec 02 +*quickref.txt* For Vim version 7.3. Last change: 2011 Jun 12 VIM REFERENCE MANUAL by Bram Moolenaar @@ -657,6 +657,7 @@ Short explanation of each option: *option-list* 'cscopepathcomp' 'cspc' how many components of the path to show 'cscopeprg' 'csprg' command to execute cscope 'cscopequickfix' 'csqf' use quickfix window for cscope results +'cscoperelative' 'csre' Use cscope.out path basename as prefix 'cscopetag' 'cst' use cscope for tag commands 'cscopetagorder' 'csto' determines ":cstag" search order 'cscopeverbose' 'csverb' give messages when adding a cscope database @@ -800,7 +801,7 @@ Short explanation of each option: *option-list* 'omnifunc' 'ofu' function for filetype-specific completion 'opendevice' 'odev' allow reading/writing devices on MS-Windows 'operatorfunc' 'opfunc' function to be called for |g@| operator -'osfiletype' 'oft' operating system-specific filetype information +'osfiletype' 'oft' no longer supported 'paragraphs' 'para' nroff macros that separate paragraphs 'paste' allow pasting text 'pastetoggle' 'pt' key code that causes 'paste' to toggle diff --git a/runtime/doc/spell.txt b/runtime/doc/spell.txt index 9d583c34d..5c76eb532 100644 --- a/runtime/doc/spell.txt +++ b/runtime/doc/spell.txt @@ -1,4 +1,4 @@ -*spell.txt* For Vim version 7.3. Last change: 2011 Feb 01 +*spell.txt* For Vim version 7.3. Last change: 2011 May 25 VIM REFERENCE MANUAL by Bram Moolenaar @@ -1244,6 +1244,7 @@ one or more groups, where each group can be: Optionally this may be followed by: * the group appears zero or more times, e.g., sm*e + the group appears one or more times, e.g., c+ + ? the group appears zero times or once, e.g., x? This is similar to the regexp pattern syntax (but not the same!). A few examples with the sequence of word flags they require: @@ -1251,6 +1252,7 @@ examples with the sequence of word flags they require: COMPOUNDRULE yz yz COMPOUNDRULE x+z xz xxz xxxz etc. COMPOUNDRULE yx+ yx yxx yxxx etc. + COMPOUNDRULE xy?z xz xyz COMPOUNDRULE [abc]z az bz cz COMPOUNDRULE [abc]+z az aaz abaz bz baz bcbz cz caz cbaz etc. diff --git a/runtime/doc/tags b/runtime/doc/tags index 50a1d4db7..70a382a18 100644 --- a/runtime/doc/tags +++ b/runtime/doc/tags @@ -154,12 +154,14 @@ $VIMRUNTIME starting.txt /*$VIMRUNTIME* 'cscopepathcomp' options.txt /*'cscopepathcomp'* 'cscopeprg' options.txt /*'cscopeprg'* 'cscopequickfix' options.txt /*'cscopequickfix'* +'cscoperelative' options.txt /*'cscoperelative'* 'cscopetag' options.txt /*'cscopetag'* 'cscopetagorder' options.txt /*'cscopetagorder'* 'cscopeverbose' options.txt /*'cscopeverbose'* 'cspc' options.txt /*'cspc'* 'csprg' options.txt /*'csprg'* 'csqf' options.txt /*'csqf'* +'csre' options.txt /*'csre'* 'cst' options.txt /*'cst'* 'csto' options.txt /*'csto'* 'csverb' options.txt /*'csverb'* @@ -1191,7 +1193,6 @@ $VIMRUNTIME starting.txt /*$VIMRUNTIME* +mzscheme/dyn various.txt /*+mzscheme\/dyn* +netbeans_intg various.txt /*+netbeans_intg* +ole various.txt /*+ole* -+osfiletype various.txt /*+osfiletype* +path_extra various.txt /*+path_extra* +perl various.txt /*+perl* +perl/dyn various.txt /*+perl\/dyn* @@ -3705,7 +3706,6 @@ E362 term.txt /*E362* E363 options.txt /*E363* E364 eval.txt /*E364* E365 print.txt /*E365* -E366 options.txt /*E366* E367 autocmd.txt /*E367* E368 eval.txt /*E368* E369 pattern.txt /*E369* @@ -3970,8 +3970,6 @@ E607 eval.txt /*E607* E608 eval.txt /*E608* E609 if_cscop.txt /*E609* E61 pattern.txt /*E61* -E610 options.txt /*E610* -E611 options.txt /*E611* E612 sign.txt /*E612* E613 print.txt /*E613* E614 editing.txt /*E614* @@ -4304,6 +4302,7 @@ IME mbyte.txt /*IME* Insert insert.txt /*Insert* Insert-mode insert.txt /*Insert-mode* InsertChange autocmd.txt /*InsertChange* +InsertCharPre autocmd.txt /*InsertCharPre* InsertEnter autocmd.txt /*InsertEnter* InsertLeave autocmd.txt /*InsertLeave* J change.txt /*J* @@ -4959,6 +4958,40 @@ charset-conversion mbyte.txt /*charset-conversion* chill.vim syntax.txt /*chill.vim* cindent() eval.txt /*cindent()* cinkeys-format indent.txt /*cinkeys-format* +cino-# indent.txt /*cino-#* +cino-( indent.txt /*cino-(* +cino-) indent.txt /*cino-)* +cino-+ indent.txt /*cino-+* +cino-/ indent.txt /*cino-\/* +cino-2 indent.txt /*cino-2* +cino-: indent.txt /*cino-:* +cino-= indent.txt /*cino-=* +cino-> indent.txt /*cino->* +cino-C indent.txt /*cino-C* +cino-J indent.txt /*cino-J* +cino-L indent.txt /*cino-L* +cino-M indent.txt /*cino-M* +cino-N indent.txt /*cino-N* +cino-U indent.txt /*cino-U* +cino-W indent.txt /*cino-W* +cino-^ indent.txt /*cino-^* +cino-b indent.txt /*cino-b* +cino-c indent.txt /*cino-c* +cino-e indent.txt /*cino-e* +cino-f indent.txt /*cino-f* +cino-g indent.txt /*cino-g* +cino-h indent.txt /*cino-h* +cino-i indent.txt /*cino-i* +cino-j indent.txt /*cino-j* +cino-l indent.txt /*cino-l* +cino-m indent.txt /*cino-m* +cino-n indent.txt /*cino-n* +cino-p indent.txt /*cino-p* +cino-star indent.txt /*cino-star* +cino-t indent.txt /*cino-t* +cino-u indent.txt /*cino-u* +cino-{ indent.txt /*cino-{* +cino-} indent.txt /*cino-}* cinoptions-values indent.txt /*cinoptions-values* clear-undo undo.txt /*clear-undo* clearmatches() eval.txt /*clearmatches()* @@ -5132,6 +5165,7 @@ cscope_connection() eval.txt /*cscope_connection()* cscopepathcomp if_cscop.txt /*cscopepathcomp* cscopeprg if_cscop.txt /*cscopeprg* cscopequickfix if_cscop.txt /*cscopequickfix* +cscoperelative if_cscop.txt /*cscoperelative* cscopetag if_cscop.txt /*cscopetag* cscopetagorder if_cscop.txt /*cscopetagorder* cscopeverbose if_cscop.txt /*cscopeverbose* @@ -5139,6 +5173,7 @@ csh.vim syntax.txt /*csh.vim* cspc if_cscop.txt /*cspc* csprg if_cscop.txt /*csprg* csqf if_cscop.txt /*csqf* +csre if_cscop.txt /*csre* cst if_cscop.txt /*cst* csto if_cscop.txt /*csto* csverb if_cscop.txt /*csverb* @@ -5416,6 +5451,11 @@ expr-env eval.txt /*expr-env* expr-env-expand eval.txt /*expr-env-expand* expr-function eval.txt /*expr-function* expr-is eval.txt /*expr-is* +expr-is# eval.txt /*expr-is#* +expr-is? eval.txt /*expr-is?* +expr-isnot eval.txt /*expr-isnot* +expr-isnot# eval.txt /*expr-isnot#* +expr-isnot? eval.txt /*expr-isnot?* expr-nesting eval.txt /*expr-nesting* expr-number eval.txt /*expr-number* expr-option eval.txt /*expr-option* @@ -6807,6 +6847,8 @@ netrw-p10 pi_netrw.txt /*netrw-p10* netrw-p11 pi_netrw.txt /*netrw-p11* netrw-p12 pi_netrw.txt /*netrw-p12* netrw-p13 pi_netrw.txt /*netrw-p13* +netrw-p14 pi_netrw.txt /*netrw-p14* +netrw-p15 pi_netrw.txt /*netrw-p15* netrw-p2 pi_netrw.txt /*netrw-p2* netrw-p3 pi_netrw.txt /*netrw-p3* netrw-p4 pi_netrw.txt /*netrw-p4* @@ -6855,6 +6897,7 @@ netrw-start pi_netrw.txt /*netrw-start* netrw-t pi_netrw.txt /*netrw-t* netrw-texplore pi_netrw.txt /*netrw-texplore* netrw-todo pi_netrw.txt /*netrw-todo* +netrw-trailingslash pi_netrw.txt /*netrw-trailingslash* netrw-transparent pi_netrw.txt /*netrw-transparent* netrw-u pi_netrw.txt /*netrw-u* netrw-updir pi_netrw.txt /*netrw-updir* @@ -7279,17 +7322,6 @@ right-justify change.txt /*right-justify* rileft rileft.txt /*rileft* rileft.txt rileft.txt /*rileft.txt* riscos os_risc.txt /*riscos* -riscos-commandline os_risc.txt /*riscos-commandline* -riscos-filetypes os_risc.txt /*riscos-filetypes* -riscos-gui os_risc.txt /*riscos-gui* -riscos-interrupt os_risc.txt /*riscos-interrupt* -riscos-locations os_risc.txt /*riscos-locations* -riscos-memory os_risc.txt /*riscos-memory* -riscos-munging os_risc.txt /*riscos-munging* -riscos-porting os_risc.txt /*riscos-porting* -riscos-remote os_risc.txt /*riscos-remote* -riscos-shell os_risc.txt /*riscos-shell* -riscos-temp-files os_risc.txt /*riscos-temp-files* rot13 change.txt /*rot13* round() eval.txt /*round()* rsync pi_netrw.txt /*rsync* diff --git a/runtime/doc/todo.txt b/runtime/doc/todo.txt index 38df7605e..057294866 100644 --- a/runtime/doc/todo.txt +++ b/runtime/doc/todo.txt @@ -1,4 +1,4 @@ -*todo.txt* For Vim version 7.3. Last change: 2011 May 19 +*todo.txt* For Vim version 7.3. Last change: 2011 Jun 19 VIM REFERENCE MANUAL by Bram Moolenaar @@ -27,82 +27,20 @@ Priority classification: See |develop.txt| for development plans. You can vote for which items should be worked on, but only if you sponsor Vim development. See |sponsor|. +Issues can also be entered online: http://code.google.com/p/vim/issues/list +Updates will be forwarded to the vim_dev maillist. Issues entered there will +not be repeated below, unless there is extra information. + *known-bugs* -------------------- Known bugs and current work ----------------------- Go through more coverity reports. -Hong Xu: I think src/Make_ro.mak should also be removed. -Two patches 2011 May 15 - Crash in autocomplete, valgrind log. (Greg Weber, 2011 Apr 22) -Ex command ":s/ \?/ /g" splits multi-byte characters into bytes. (Dominique -Pelle, 2011 May 7). - -In command line window ":close" doesn't work properly. (Tony Mechelynck, 2009 -Jun 1) -Patch by Jean-Rene David, 2011 Apr 30. - -When "b" is a symlink to directory "a", resolve("b/") doesn't result in "a/". -(ZyX, 2011 Feb 12) -Patch by Jean-Rene David, 2011 Apr 30. - -Patch to set v:register default depending on "unnamed" in 'clipboard'. (Ingo -Karkat, 2011 Jan 16) - -Patch to add 'cscoperelative'. (Raghavendra Prabhu, 2011 Apr 18) - -9 "} else" causes following lines to be indented too much. (Rouben - Rostamian, 2008 Aug 30) -Patch by Lech Lorens, 2011 May 16, with more tests. - -New syntax file for dnsmasq. (Thilo Six, 2011 Apr 18) - Discussion about canonicalization of Hebrew. (Ron Aaron, 2011 April 10) -Patch for: - InsertCharPre - user typed character Insert mode, before inserting the - char. Pattern is matched with text before the cursor. - Set v:char to the character, can be changed. - (not triggered when 'paste' is set). -(Jakson A. Aquino, 2011 Jan 29) - -Patch for "No errors" showing up after QuickfixCmdPost. (Mike Lundy, 2011 Feb -3) - -Patch for cmdline completion of ":lang". (Dominique Pelle, 2011 Feb 5) - -Patch for adding 's' option to 'cino', C++ namespace indenting. (Konstantin -Lepa, 2011 Jan 18) - -Patch to support ":!start /b cmd". (Xaizek, 2010 Dec 22) - -Patch for syntax "extend" not working correctly. (Ben Schmidt, 2011 May 15) - -Patch to build with GTK on Mac. (Ben Schmidt, 2011 Jan 18) -Use another name instead of FEAT_GUI_ELSEWHERE. - -Patch for xxd makefile to avoid generating .dSYM files. (Ben Schmidt, 2011 Jan -18) - -Patch to show sign for folded text. (Christian Brabandt, 2011 Jan 12) -Method to reproduce it: Jan 16. - -Patch to improve optwin.vim. (ZyX, 2011 Jan 29) - -Patch for Python 3 support. (lilydjwg, 2011 Feb 24) - -Patch to make putting from clipboard linewise when the text ends in a newline. -(Sung Pae) Do we want this? - -Patch to add third dict argument to sort(). (ZyX, 2011 May 15) - -Building the MingW version without clipboard but with multi-byte doesn't -work. (Bill Lam, 2010 Sep 18) - -Patch for handling of NL in substitute() with \= expression. (Motoya Kurotsu, -2011 Mar 16) Update Mar 24. +Patch to fix gj with count. (James Vega, 2011 Jun 13) Patch to disallow fork() when __APPLE__ is defined. (Hisashi T Fujinaka, 2010 Nov 25) @@ -111,6 +49,11 @@ Nov 25) use "~/" when possible. Patch by Jean-Rene David, 2011 May 1. +Cindent wrong after patch 7.3.202. (Lech Lorens, issue 9) + +Patch for cindent fix with closing brace placement, including tests. +(Lech Lorens, issue 10, 2011 Jun 12) + Patch for better #if 0 syntax highlighting for C code. (Ben Schmidt, 2011 Jan 20) Change to C syntax folding to make it work much faster, but a bit less @@ -124,12 +67,26 @@ Update 2011 Feb 3. Patch to use pipes on Win32. (Vincent Berthoux, 2011 Feb 28) Update Mar 1 using 'shelltemp'. +Patch to fix CTRL-R CTRL-W in the command line when the cursor is not at the +end. (Tyru, 2011 Jun 6) + Patch to support UTF-8 for Hangul. (Shawn Y.H. Kim, 2011 May 1) Needs more work. +Patch to make ";" not get stuck on "t" command. (Christian Brabandt, 2011 May +23) + +Patch to do more testing of Javascript indenting. Some items are srong. +(Luc Deschenaux, 2011 Jun 14) + "gh<Del>" deletes the current line, except when it's the last line. Hint by Christian Brabandt, 2011 Mar 22 +"echo 'abc' > ''" returns 0 or 1, depending on 'ignorecase'. +mb_strnicmp() checks for illegal and truncated bytes are wrong. +Should also not assume that byte length is equal before case folding. +Patch by Ivan Krasilnikov, 2011 May 27. + The :z command doesn't work exactly as it should. (ChangZhuo Chen, 2011 Mar 2) Compare with how old Vi works and with posix spec. terminal is 80 x 24, 'scroll' option set to 11. @@ -138,6 +95,14 @@ Compare with how old Vi works and with posix spec. terminal is 80 x 24, 'list' is set. (Dennis Preiser) Patch 7.3.116 was the wrong solution. +With concealed text mouse click doesn't put the cursor in the right position. +(Herb Sitz) Fix by Christian Brabandt, 2011 Jun 16. Doesn't work properly, +need to make the change in where RET_WIN_BUF_CHARTABSIZE() is called. + +Syntax region with 'concealends' and a 'cchar' value, 'conceallevel' set to 2, +only one of the two ends gets the cchar displayed. (Brett Stahlman, 2010 Aug +21, Ben Fritz, 2010 Sep 14) + When opening file from windows explorer, characters inside [] cause problems, even though double quotes are used. (Manuel Stol, 2011 Mar 9) @@ -149,12 +114,14 @@ Use function to set paste option and restore it, use CTRL-R+ to paste. Help file foldexpr (ZyX) -Syntax region with 'concealends' and a 'cchar' value, 'conceallevel' set to 2, -only one of the two ends gets the cchar displayed. (Brett Stahlman, 2010 Aug -21, Ben Fritz, 2010 Sep 14) - Bug in repeating Visual "u". (Lawrence Kesteloot, 2010 Dec 20) +Patch to automatically get version number into NSIS. (Guopeng Wen, 2011 May +27) + +Patch to make character classes work with multi-byte characters. +(Dominique Pelle, 2011 May 31) + In GTK Gvim, setting 'lines' and 'columns' to 99999 causes a crash (Tony Mechelynck, 2011 Apr 25). Can reproduce the crash sometimes: gvim -N -u NONE --cmd 'set lines=99999 columns=99999' @@ -190,6 +157,10 @@ When using a Vim server, a # in the path causes an error message. Bug: E685 error for func_unref(). (ZyX, 2010 Aug 5) +Bug: Windows 7 64 bit system freezes when 'clipboard' set to "unnamed" and +doing ":g/test/d". Putting every delete on the clipboard? (Robert Chan, 2011 +Jun 17) + Using ":break" or something else that stops executing commands inside a ":finally" does not rethrow a previously uncaught exception. (ZyX, 2010 Oct 15) @@ -235,6 +206,9 @@ Patch by Christian Brabandt, 2011 Mar 19. Patch to support sorting on floating point number. (Alex Jakushev, 2010 Oct 30) +Patch to addd TextDeletePost and TextYankPost events. (Philippe Vaucher, 2011 +May 24) Update May 26. + When a script contains "redir => s:foo" but doesn't end redirection, a following "redir" command gives an error for not being able to access s:foo. (ZyX, 2011 Mar 27) @@ -244,6 +218,10 @@ Problem with "syn sync gouphere". (Gustavo Niemeyer, 2011 Jan 27) Loading autoload script even when usage is inside "if 0". (Christian Brabandt, 2010 Dec 18) +With a filler line in diff mode, it isn't displayed in the column with line +number, but it is in the sign column. Doesn't look right. (ZyX 2011 Jun 5) +Patch by Christian Brabandt, 2011 Jun 5. Introduces new problems. + In the sandbox it's not allowed to do many things, but it's possible to change or set variables. Add a way to prevent variables from being changed in the sandbox? E.g.: ":protect g:restore_settings". @@ -356,6 +334,9 @@ Echo starts in the wrong column: Patch for GVimExt to show an icon. (Dominik Riebeling, 2010 Nov 7) +GvimExt sets $LANG in the wrong way. Patch by Yasuhiro Matsumoto, 2011 Jun +15. This will fix issue no 11. + When writing a file > 2Gbyte, the reported number of bytes is negative. (Antonio Colombo, 2010 Dec 18) @@ -923,6 +904,9 @@ Gnome improvements: Edward Catmur, 2007 Jan 7 New PHP syntax file, use it? (Peter Hodge) +":echoe" in catch block stops processing, while this doesn't happen outside of +a catch block. (ZyX, 2011 Jun 2) + 'foldcolumn' in modeline applied to wrong window when using a session. (Teemu Likonen, March 19) @@ -1144,8 +1128,6 @@ if_ruby.c. Patch to dynamically load Python on Solaris. (Danek Duvall, 2009 Feb 16) Needs more work. -Python3 interface doesn't handle utf-8 correctly? (Nov 2010, lilydjwg) - The need_fileinfo flag is messy. Instead make the message right away and put it in keep_msg? @@ -1370,6 +1352,9 @@ resulting in highlighted "{" in that window, not in the other. In mswin.vim: Instead of mapping <C-V> for Insert mode in a complicated way, can it be done like ":imap <C-V> <MiddleMouse>" without negative side effects? +Completion menu disappears when using 'cursorcolumn'. (Sven-Hendrik Haase, +2011 May 23) + GTK: when the Tab pages bar appears or disappears while the window is maximized the window is no longer maximized. Patch that has some idea but doesn't work from Geoffrey Antos, 2008 May 5. @@ -3529,6 +3514,8 @@ GUI: Autocommands: +9 Rework the code from FEAT_OSFILETYPE for autocmd-osfiletypes to use + 'filetype'. Only for when the current buffer is known. - Put autocommand event names in a hashtable for faster lookup? 8 When the SwapExists event is triggered, provide information about the swap file, e.g., whether the process is running, file was modified, etc. diff --git a/runtime/doc/usr_41.txt b/runtime/doc/usr_41.txt index d319a0836..0a025956f 100644 --- a/runtime/doc/usr_41.txt +++ b/runtime/doc/usr_41.txt @@ -1,4 +1,4 @@ -*usr_41.txt* For Vim version 7.3. Last change: 2011 Feb 15 +*usr_41.txt* For Vim version 7.3. Last change: 2011 Jun 19 VIM USER MANUAL - by Bram Moolenaar @@ -597,7 +597,7 @@ String manipulation: *string-functions* strridx() last index of a short string in a long string strlen() length of a string substitute() substitute a pattern match with a string - submatch() get a specific match in a ":substitute" + submatch() get a specific match in ":s" and substitute() strpart() get part of a string expand() expand special keywords iconv() convert text from one encoding to another diff --git a/runtime/doc/various.txt b/runtime/doc/various.txt index 2fd3c2094..77a9f88d7 100644 --- a/runtime/doc/various.txt +++ b/runtime/doc/various.txt @@ -1,4 +1,4 @@ -*various.txt* For Vim version 7.3. Last change: 2011 Mar 03 +*various.txt* For Vim version 7.3. Last change: 2011 May 19 VIM REFERENCE MANUAL by Bram Moolenaar @@ -360,8 +360,6 @@ m *+mzscheme* Mzscheme interface |mzscheme| m *+mzscheme/dyn* Mzscheme interface |mzscheme-dynamic| |/dyn| m *+netbeans_intg* |netbeans| m *+ole* Win32 GUI only: |ole-interface| - *+osfiletype* Support for the 'osfiletype' option and filetype - checking in automatic commands. |autocmd-osfiletypes| N *+path_extra* Up/downwards search in 'path' and 'tags' m *+perl* Perl interface |perl| m *+perl/dyn* Perl interface |perl-dynamic| |/dyn| |