diff --git a/.hgtags b/.hgtags index 663d7791b9..3450c2750d 100644 --- a/.hgtags +++ b/.hgtags @@ -1868,3 +1868,76 @@ fa17c8646feb4719639150f1c301ce6c1557afb7 v7-3-528 d83218a156dd8258a5f2f3ae019c56f3e8851d48 v7-3-529 81d5f3a3e27fff9188ae34c41b939fc88c9837de v7-3-530 c44f0f7424b98d321d90994198374628911623ce v7-3-531 +9755d151c7492a5f1d0e77a2d3c9e414f20f3b4e v7-3-532 +74d51b51f3e69df7d3295255ee10391b3409055b v7-3-533 +65f905eb14cd373e205ff4c8a53027514e96d819 v7-3-534 +f52d2ea0f81c20e6f026d74cec66b135d5470d2d v7-3-535 +a8897fd5d074d7baaba692013521304b13beb784 v7-3-536 +96715c3a905faa1bbdc50b16b0f57671b4758e0c v7-3-537 +bbf1fbbe4ab45442f8876790004805503e25f563 v7-3-538 +7a710cf51d73cb3c3c76fcea34ee706443800c54 v7-3-539 +af083cb521bcb69aae315654a3873c488dc58c43 v7-3-540 +5c1aaf9b4b1bc2d14d627fe22d414f3a2525c50b v7-3-541 +8d1b63e6d3173625324f4adfe733efc8091f9422 v7-3-542 +ce7bd50bafa74f4da979f27c4e5fa9a47e69d739 v7-3-543 +09d0bda69df0c5eb505a02e37a978e92fbc89332 v7-3-544 +e7ff3251dfa157284a48c5322783499d079e3eb0 v7-3-545 +0a364618c0e59fa777f526c99bee608bb5cf55ce v7-3-546 +4f4db5d661c4fae42f2d917c09549d58a2f4d05f v7-3-547 +8625e38066dbf6a4d5e2563fbe191c3910681d2e v7-3-548 +c0c935956ac3b7c706043e5c7c0ba840636fb10f v7-3-549 +297771eff080ed3bcfb2ade57c2dcab34bac5de8 v7-3-550 +e83c5dcea112a44f9a7b06042b52798e32d96541 v7-3-551 +443c50cd3e8811b58a4ca131ab21abd18aea9489 v7-3-552 +583e46e4a56c40fa1a7336be85eaec93f6800edf v7-3-553 +a967a979c37f458bd4d164afb8a6192a5b4a6fde v7-3-554 +8fb7bd9dfb2b26b43725c90e042d2089762466a6 v7-3-555 +b8924014a03991b79947d735a894e2c2e8f94980 v7-3-556 +a220dd97b5c7218558eaea27d301af2ed4f9ec2d v7-3-557 +34724dc5172bb81a9e670c5bd23edbe6a124fd28 v7-3-558 +74adc9f7e15b8c088abd04de35615cad6c83a811 v7-3-559 +0abd38ba64557c4a6d62575aaa3fc7ab6482d747 v7-3-560 +a1de7928a7aba45240c85a2bc8d70adadc49e4dc v7-3-561 +b2763055bdf26e1f11bf8cfb0601fefbefb34e0d v7-3-562 +02c86cdcf9a23f092400c7631e5906cb9053703b v7-3-563 +683de93060968ed4e9dfb7992910c75f479471ec v7-3-564 +5f811338b1186e1aef683d03fa05a8026d30e9f1 v7-3-565 +18c6b1752d0baab043792d3f6267ec393f7a11e1 v7-3-566 +f90bb88c261582fef85c16009f19168b38debd74 v7-3-567 +3b5f541269e2d9e57b82ea1ec89c6747e2003434 v7-3-568 +c052f3b79b9948e7072580e7db42f90c92eb40af v7-3-569 +4f1c511e71f851c4f1c14e950f95ebd6967c6ed1 v7-3-570 +43fd3896fab7be5ad01deed2960d37d91ba65691 v7-3-571 +3ae387af405f46e200fdf9bc204d0a251864abb9 v7-3-572 +802b1a1b275f5c8f95724d50d53642f221621d79 v7-3-573 +3ac005f02cf015b3aa246482c6331bd61c08d91a v7-3-574 +79ae10bd056520fb6367247804af22e52d2de8b8 v7-3-575 +7e3fedfc3d08d020e3ce047ec1a1cfd195af9ed7 v7-3-576 +286ba0251c0aff1a664a481846c1f4107fae0c11 v7-3-577 +0e9b2622c94a8edf906d6c44831c1cded7184d13 v7-3-578 +80ed6aa7b9eb18058a0b105af2ecd7b213891be2 v7-3-579 +f02b6ad168ae82ead0286b64627762ab2343ee96 v7-3-580 +96249a1803e28e6173faed53f8687334aa63360c v7-3-581 +d383bc2ba8112103389a44c2c747eaa1016da935 v7-3-582 +a69b1d711ff9d8b227acff694c53310cf237933f v7-3-583 +2d107086903af80afee524549e57d3ba016b3f12 v7-3-584 +d258a0c5c38a6a604b983b6499a0f02bc061c816 v7-3-585 +8393a16069fb5f7b22ab766167b698e4dc129911 v7-3-586 +a34fb0a077c9c26946727a25222e0a99dc08db0d v7-3-587 +e92cc285632dc29d932061970e43b53cdbb3460d v7-3-588 +e82937b753a8ca6705bf55dbf258f077746ec428 v7-3-589 +bdf7f3e4c763f2a038c397af8eb6b8950e58db6b v7-3-590 +e5b925ae56e36e86eb2ff059aa28d6a2dd332845 v7-3-591 +0e06193d4bd7be03924dd9c6251a64c6c6adf78d v7-3-592 +46896c29edd74418c665af7c1ed685aa52a41e1a v7-3-593 +5e7b500dbb7e9e964457d300b536aeba9771af6c v7-3-594 +928e7cef8836d13d4f2a17234e127b928ee63ff4 v7-3-595 +5aad2c444a00a2309e6e373b6bcb5441669ba126 v7-3-596 +b9aa7fb4a9281b87a651251f799e049409634757 v7-3-597 +f0747581607924c30530687fa88ebaa57602eb5f v7-3-598 +b06578f1390fea339a2d9d18e12758ec1dbcc279 v7-3-599 +8f98038a0bf34310a8224a569eacd539b7b8b649 v7-3-600 +c1780b4cb9955fc113c3c993c18c139e06425ef5 v7-3-601 +5cacdf56c94b6fa1992f7e9c07c95bfe52bcccec v7-3-602 +085f14642fe828b1cbae5706ca87f2932cebeb75 v7-3-603 +acd91c9741a6d0185b7c63db412888de4f904118 v7-3-604 diff --git a/Filelist b/Filelist index 2db6ff2f91..8d7cfa9ee1 100644 --- a/Filelist +++ b/Filelist @@ -463,6 +463,7 @@ RT_ALL = \ runtime/macros/hanoi/hanoi.vim \ runtime/macros/hanoi/poster \ runtime/macros/justify.vim \ + runtime/macros/less.bat \ runtime/macros/less.sh \ runtime/macros/less.vim \ runtime/macros/life/click.me \ @@ -666,6 +667,8 @@ EXTRA = \ # generic language files LANG_GEN = \ + runtime/doc/*-de.1 \ + runtime/doc/*-de.UTF-8.1 \ runtime/doc/*-fr.1 \ runtime/doc/*-fr.UTF-8.1 \ runtime/doc/*-it.1 \ diff --git a/runtime/autoload/ccomplete.vim b/runtime/autoload/ccomplete.vim index 198bd20055..d5bfa076a9 100644 --- a/runtime/autoload/ccomplete.vim +++ b/runtime/autoload/ccomplete.vim @@ -1,7 +1,7 @@ " Vim completion script " Language: C " Maintainer: Bram Moolenaar -" Last Change: 2011 Dec 30 +" Last Change: 2012 Jun 20 let s:cpo_save = &cpo set cpo&vim @@ -500,7 +500,7 @@ function! s:StructMembers(typename, items, all) endif if !cached while 1 - exe 'silent! ' . n . 'vimgrep /\t' . typename . '\(\t\|$\)/j ' . fnames + exe 'silent! keepj noautocmd ' . n . 'vimgrep /\t' . typename . '\(\t\|$\)/j ' . fnames let qflist = getqflist() if len(qflist) > 0 || match(typename, "::") < 0 diff --git a/runtime/doc/autocmd.txt b/runtime/doc/autocmd.txt index 7811cfe18c..a8bff07c56 100644 --- a/runtime/doc/autocmd.txt +++ b/runtime/doc/autocmd.txt @@ -1,4 +1,4 @@ -*autocmd.txt* For Vim version 7.3. Last change: 2012 Feb 22 +*autocmd.txt* For Vim version 7.3. Last change: 2012 Jul 10 VIM REFERENCE MANUAL by Bram Moolenaar @@ -385,6 +385,10 @@ BufRead or BufReadPost When starting to edit a new buffer, after This does NOT work for ":r file". Not used when the file doesn't exist. Also used after successfully recovering a file. + Also triggered for the filetypedetect group + when executing ":filetype detect" and when + writing an unnamed buffer in a way that the + buffer gets a name. *BufReadCmd* BufReadCmd Before starting to edit a new buffer. Should read the file into the buffer. |Cmd-event| @@ -474,6 +478,11 @@ CmdwinLeave Before leaving the command-line window. *ColorScheme* ColorScheme After loading a color scheme. |:colorscheme| + *CompleteDone* +CompleteDone After Insert mode completion is done. Either + when something was completed or abandoning + completion. |ins-completion| + *CursorHold* CursorHold When the user doesn't press a key for the time specified with 'updatetime'. Not re-triggered @@ -717,6 +726,12 @@ QuickFixCmdPost Like QuickFixCmdPre, but after a quickfix it is run after error file is read and before moving to the first error. See |QuickFixCmdPost-example|. + *QuitPre* +QuitPre When using `:quit`, before deciding whether it + closes the current window or quits Vim. Can + be used to close any non-essential window if + the current window is the last ordinary + window. *RemoteReply* RemoteReply When a reply from a Vim that functions as server was received |server2client()|. The diff --git a/runtime/doc/change.txt b/runtime/doc/change.txt index e93628ec8b..475714689f 100644 --- a/runtime/doc/change.txt +++ b/runtime/doc/change.txt @@ -1,4 +1,4 @@ -*change.txt* For Vim version 7.3. Last change: 2012 Apr 30 +*change.txt* For Vim version 7.3. Last change: 2012 Jun 13 VIM REFERENCE MANUAL by Bram Moolenaar @@ -1502,6 +1502,7 @@ n When formatting text, recognize numbered lists. This actually uses first line of a paragraph second line of the same paragraph third line. +< This also works inside comments, ignoring the comment leader. v Vi-compatible auto-wrapping in insert mode: Only break a line at a blank that you have entered during the current insert command. (Note: this is not 100% Vi compatible. Vi has some "unexpected features" or @@ -1522,6 +1523,12 @@ B When joining lines, don't insert a space between two multi-byte characters. Overruled by the 'M' flag. 1 Don't break a line after a one-letter word. It's broken before it instead (if possible). +j Where it makes sense, remove a comment leader when joining lines. For + example, joining: + int i; // the index ~ + // in the list ~ + Becomes: + int i; // the index in the list ~ With 't' and 'c' you can specify when Vim performs auto-wrapping: diff --git a/runtime/doc/cmdline.txt b/runtime/doc/cmdline.txt index a668265123..a9e8acf538 100644 --- a/runtime/doc/cmdline.txt +++ b/runtime/doc/cmdline.txt @@ -1,4 +1,4 @@ -*cmdline.txt* For Vim version 7.3. Last change: 2012 Feb 05 +*cmdline.txt* For Vim version 7.3. Last change: 2012 Jun 20 VIM REFERENCE MANUAL by Bram Moolenaar @@ -826,10 +826,11 @@ These modifiers can be given, in this order: the home directory. If the name is a directory a path separator is added at the end. For a file name that does not exist and does not have an absolute path the result is - unpredictable. + unpredictable. On MS-Windows an 8.3 filename is expanded to + the long name. :8 Converts the path to 8.3 short format (currently only on - win32). Will act on as much of a path that is an existing - path. + MS-Windows). Will act on as much of a path that is an + existing path. :~ Reduce file name to be relative to the home directory, if possible. File name is unmodified if it is not below the home directory. diff --git a/runtime/doc/editing.txt b/runtime/doc/editing.txt index 828de15018..e598f31eea 100644 --- a/runtime/doc/editing.txt +++ b/runtime/doc/editing.txt @@ -1,4 +1,4 @@ -*editing.txt* For Vim version 7.3. Last change: 2012 Apr 03 +*editing.txt* For Vim version 7.3. Last change: 2012 Jul 10 VIM REFERENCE MANUAL by Bram Moolenaar @@ -377,8 +377,9 @@ command that accepts more than one file name (like ":next file1 file2") embedded spaces must be escaped with a backslash. *wildcard* *wildcards* -Wildcards in {file} are expanded. Which wildcards are supported depends on -the system. These are the common ones: +Wildcards in {file} are expanded, but as with file completion, 'wildignore' +and 'suffixes' apply. Which wildcards are supported depends on the system. +These are the common ones: ? matches one character * matches anything, including nothing ** matches anything, including nothing, recurses into directories @@ -422,9 +423,11 @@ You can have the backticks expanded as a Vim expression, instead of an external command, by using the syntax `={expr}` e.g.: > :e `=tempname()` The expression can contain just about anything, thus this can also be used to -avoid the special meaning of '"', '|', '%' and '#'. Names are to be separated -with line breaks. When the result is a |List| then each item is used as a -name. Line breaks also separate names. +avoid the special meaning of '"', '|', '%' and '#'. However, 'wildignore' +does apply like to other wildcars. +If the expression returns a string then names are to be separated with line +breaks. When the result is a |List| then each item is used as a name. Line +breaks also separate names. *++opt* *[++opt]* The [++opt] argument can be used to force the value of 'fileformat', @@ -1066,6 +1069,7 @@ The names can be in upper- or lowercase. If there are other tab pages and quitting the last window in the current tab page the current tab page is closed |tab-page|. + Triggers the |QuitPre| autocommand event. :conf[irm] q[uit] Quit, but give prompt when changes have been made, or the last file in the argument list has not been @@ -1215,13 +1219,13 @@ For versions of Vim where browsing is not supported, the command is executed unmodified. *browsefilter* -For MS Windows, you can modify the filters that are used in the browse dialog. -By setting the g:browsefilter or b:browsefilter variables, you can change the -filters globally or locally to the buffer. The variable is set to a string in -the format "{filter label}\t{pattern};{pattern}\n" where {filter label} is the -text that appears in the "Files of Type" comboBox, and {pattern} is the -pattern which filters the filenames. Several patterns can be given, separated -by ';'. +For MS Windows and GTK, you can modify the filters that are used in the browse +dialog. By setting the g:browsefilter or b:browsefilter variables, you can +change the filters globally or locally to the buffer. The variable is set to +a string in the format "{filter label}\t{pattern};{pattern}\n" where {filter +label} is the text that appears in the "Files of Type" comboBox, and {pattern} +is the pattern which filters the filenames. Several patterns can be given, +separated by ';'. For Motif the same format is used, but only the very first pattern is actually used (Motif only offers one pattern, but you can edit it). @@ -1229,7 +1233,7 @@ used (Motif only offers one pattern, but you can edit it). For example, to have only Vim files in the dialog, you could use the following command: > - let g:browsefilter="Vim Scripts\t*.vim\nVim Startup Files\t*vimrc\n" + let g:browsefilter = "Vim Scripts\t*.vim\nVim Startup Files\t*vimrc\n" You can override the filter setting on a per-buffer basis by setting the b:browsefilter variable. You would most likely set b:browsefilter in a @@ -1239,6 +1243,13 @@ difficult to start editing a file of a different type. To overcome this, you may want to add "All Files\t*.*\n" as the final filter, so that the user can still access any desired file. +To avoid setting browsefilter when Vim does not actually support it, you can +use has("browsefilter"): > + + if has("browsefilter") + let g:browsefilter = "whatever" + endif + ============================================================================== 7. The current directory *current-directory* diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index 793ce7e4e0..1a3c6c9fb9 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -1,4 +1,4 @@ -*eval.txt* For Vim version 7.3. Last change: 2012 May 18 +*eval.txt* For Vim version 7.3. Last change: 2012 Jul 10 VIM REFERENCE MANUAL by Bram Moolenaar @@ -1880,6 +1880,8 @@ pow( {x}, {y}) Float {x} to the power of {y} prevnonblank( {lnum}) Number line nr of non-blank line <= {lnum} printf( {fmt}, {expr1}...) String format text pumvisible() Number whether popup menu is visible +pyeval( {expr}) any evaluate |Python| expression +py3eval( {expr}) any evaluate |python3| expression range( {expr} [, {max} [, {stride}]]) List items from {expr} to {max} readfile( {fname} [, {binary} [, {max}]]) @@ -3565,6 +3567,9 @@ histadd({history}, {item}) *histadd()* "search" or "/" search pattern history "expr" or "=" typed expression history "input" or "@" input line history + "debug" or ">" debug command history + The {history} string does not need to be the whole name, one + character is sufficient. If {item} does already exist in the history, it will be shifted to become the newest entry. The result is a Number: 1 if the operation was successful, @@ -4033,7 +4038,7 @@ map({expr}, {string}) *map()* The operation is done in-place. If you want a |List| or |Dictionary| to remain unmodified make a copy first: > - :let tlist = map(copy(mylist), ' & . "\t"') + :let tlist = map(copy(mylist), ' v:val . "\t"') < Returns {expr}, the |List| or |Dictionary| that was filtered. When an error is encountered while evaluating {string} no @@ -4610,6 +4615,29 @@ pumvisible() *pumvisible()* This can be used to avoid some things that would remove the popup menu. + *E860* *E861* +py3eval({expr}) *py3eval()* + Evaluate Python expression {expr} and return its result + converted to Vim data structures. + Numbers and strings are returned as they are (strings are + copied though, unicode strings are additionally converted to + 'encoding'). + Lists are represented as Vim |List| type. + Dictionaries are represented as Vim |Dictionary| type with + keys converted to strings. + {only available when compiled with the |+python3| feature} + + *E858* *E859* +pyeval({expr}) *pyeval()* + Evaluate Python expression {expr} and return its result + converted to Vim data structures. + Numbers and strings are returned as they are (strings are + copied though). + Lists are represented as Vim |List| type. + Dictionaries are represented as Vim |Dictionary| type with + keys converted to strings. + {only available when compiled with the |+python| feature} + *E726* *E727* range({expr} [, {max} [, {stride}]]) *range()* Returns a |List| with Numbers: @@ -6219,6 +6247,7 @@ balloon_multiline GUI supports multiline balloons. beos BeOS version of Vim. browse Compiled with |:browse| support, and browse() will work. +browsefilter Compiled with support for |browsefilter|. builtin_terms Compiled with some builtin terminals. byte_offset Compiled with support for 'o' in 'statusline' cindent Compiled with 'cindent' support. diff --git a/runtime/doc/if_lua.txt b/runtime/doc/if_lua.txt index 6626e383ea..f6f56048a7 100644 --- a/runtime/doc/if_lua.txt +++ b/runtime/doc/if_lua.txt @@ -1,4 +1,4 @@ -*if_lua.txt* For Vim version 7.3. Last change: 2012 Jan 16 +*if_lua.txt* For Vim version 7.3. Last change: 2012 Jun 29 VIM REFERENCE MANUAL by Luis Carvalho @@ -313,7 +313,7 @@ Examples: < ============================================================================== -7. The luaeval function *lua-luaeval* +7. The luaeval function *lua-luaeval* *lua-eval* The (dual) equivalent of "vim.eval" for passing Lua values to Vim is "luaeval". "luaeval" takes an expression string and an optional argument and diff --git a/runtime/doc/if_pyth.txt b/runtime/doc/if_pyth.txt index e542a04f51..31a0d07f95 100644 --- a/runtime/doc/if_pyth.txt +++ b/runtime/doc/if_pyth.txt @@ -6,13 +6,14 @@ The Python Interface to Vim *python* *Python* -1. Commands |python-commands| -2. The vim module |python-vim| -3. Buffer objects |python-buffer| -4. Range objects |python-range| -5. Window objects |python-window| -6. Dynamic loading |python-dynamic| -7. Python 3 |python3| +1. Commands |python-commands| +2. The vim module |python-vim| +3. Buffer objects |python-buffer| +4. Range objects |python-range| +5. Window objects |python-window| +6. pyeval(), py3eval() Vim functions |python-pyeval| +7. Dynamic loading |python-dynamic| +8. Python 3 |python3| {Vi does not have any of these commands} @@ -150,6 +151,22 @@ vim.eval(str) *python-eval* [{'cmd': '/^eval_expr(arg, nextcmd)$/', 'static': 0, 'name': 'eval_expr', 'kind': 'f', 'filename': './src/eval.c'}] +vim.bindeval(str) *python-bindeval* + Like |python-eval|, but + 1. if expression evaluates to |List| or |Dictionary| it is returned as + vimlist or vimdictionary python type that are connected to original + list or dictionary. Thus modifications to these objects imply + modifications of the original. + 2. if expression evaluates to a function reference, then it returns + callable vimfunction object. Use self keyword argument to assign + |self| object for dictionary functions. + + Note: this function has the same behavior as |lua-eval| (except that + lua does not support running vim functions), |python-eval| is + kept for backwards compatibility in order not to make scripts + relying on outputs of vim.eval() being a copy of original or + vim.eval("1") returning a string. + Error object of the "vim" module @@ -319,7 +336,13 @@ The height attribute is writable only if the screen is split horizontally. The width attribute is writable only if the screen is split vertically. ============================================================================== -6. Dynamic loading *python-dynamic* +6. pyeval() and py3eval() Vim functions *python-pyeval* + +To facilitate bi-directional interface, you can use |pyeval()| and |py3eval()| +functions to evaluate Python expressions and pass their values to VimL. + +============================================================================== +7. Dynamic loading *python-dynamic* On MS-Windows the Python library can be loaded dynamically. The |:version| output then includes |+python/dyn|. @@ -336,13 +359,14 @@ Currently the name is "python24.dll". That is for Python 2.4. To know for sure edit "gvim.exe" and search for "python\d*.dll\c". ============================================================================== -7. Python 3 *python3* +8. Python 3 *python3* *:py3* *:python3* The |:py3| and |:python3| commands work similar to |:python|. *:py3file* The |:py3file| command works similar to |:pyfile|. + Vim can be built in four ways (:version output): 1. No Python support (-python, -python3) 2. Python 2 support only (+python or +python/dyn, -python3) diff --git a/runtime/doc/insert.txt b/runtime/doc/insert.txt index 4629c0f6c0..bf020fd427 100644 --- a/runtime/doc/insert.txt +++ b/runtime/doc/insert.txt @@ -1,4 +1,4 @@ -*insert.txt* For Vim version 7.3. Last change: 2012 May 18 +*insert.txt* For Vim version 7.3. Last change: 2012 Jul 10 VIM REFERENCE MANUAL by Bram Moolenaar @@ -491,7 +491,7 @@ option} *ins-smarttab* When the 'smarttab' option is on, a inserts 'shiftwidth' positions at the beginning of a line and 'tabstop' positions in other places. This means -that often spaces instead of a character are inserted. When 'smarttab +that often spaces instead of a character are inserted. When 'smarttab' is off, a always inserts 'tabstop' positions, and 'shiftwidth' is only used for ">>" and the like. {not in Vi} @@ -1044,6 +1044,8 @@ that contains the List. The Dict can have these items: leading text is changed. Other items are ignored. +For acting upon end of completion, see the |CompleteDone| autocommand event. + For example, the function can contain this: > let matches = ... list of words ... return {'words': matches, 'refresh': 'always'} diff --git a/runtime/doc/mbyte.txt b/runtime/doc/mbyte.txt index c4ea4e87da..9a37b86631 100644 --- a/runtime/doc/mbyte.txt +++ b/runtime/doc/mbyte.txt @@ -1,4 +1,4 @@ -*mbyte.txt* For Vim version 7.3. Last change: 2012 Feb 29 +*mbyte.txt* For Vim version 7.3. Last change: 2012 Jun 06 VIM REFERENCE MANUAL by Bram Moolenaar et al. @@ -475,7 +475,7 @@ Useful utilities for converting the charset: |charset| converter. Supported |charset|: ISO-2022-CN, ISO-2022-JP, ISO-2022-KR, EUC-CN, EUC-JP, EUC-KR, EUC-TW, UTF-7, UTF-8, ISO-8859 series, Shift_JIS, Big5 and HZ. Lv can be found at: - http://www.ff.iij4u.or.jp/~nrt/freeware/lv4495.tar.gz + http://www.ff.iij4u.or.jp/~nrt/lv/index.html *mbyte-conversion* @@ -615,7 +615,7 @@ Each field means: charsets, such as JIS X 0208, if this field is 0, code points has the same value as GL, and GR if 1. -For example, in case of a 14 dots font corresponding to JIS X 0208, it is +For example, in case of a 16 dots font corresponding to JIS X 0208, it is written like: -misc-fixed-medium-r-normal--16-110-100-100-c-160-jisx0208.1990-0 diff --git a/runtime/doc/motion.txt b/runtime/doc/motion.txt index ccf6898891..9b0af8cac8 100644 --- a/runtime/doc/motion.txt +++ b/runtime/doc/motion.txt @@ -1,4 +1,4 @@ -*motion.txt* For Vim version 7.3. Last change: 2011 Jul 19 +*motion.txt* For Vim version 7.3. Last change: 2012 Jul 06 VIM REFERENCE MANUAL by Bram Moolenaar @@ -750,6 +750,13 @@ m[ or m] Set the |'[| or |']| mark. Useful when an operator is to be simulated by multiple commands. (does not move the cursor, this is not a motion command). + *m<* *m>* +m< or m> Set the |'<| or |'>| mark. Useful to change what the + `gv` command selects. (does not move the cursor, this + is not a motion command). + Note that the Visual mode cannot be set, only the + start and end position. + *:ma* *:mark* *E191* :[range]ma[rk] {a-zA-Z'} Set mark {a-zA-Z'} at last line number in [range], diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index 7c3268b028..fd0540054b 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -1,4 +1,4 @@ -*options.txt* For Vim version 7.3. Last change: 2012 May 16 +*options.txt* For Vim version 7.3. Last change: 2012 Jul 10 VIM REFERENCE MANUAL by Bram Moolenaar @@ -749,7 +749,7 @@ A jump table for the options with a short description can be found at |Q_op|. - Reset the 'rightleft' option. - Disable the use of 'keymap' (without changing its value). Note that 'arabicshape' and 'delcombine' are not reset (it is a global - option. + option). Also see |arabic.txt|. *'arabicshape'* *'arshape'* @@ -1112,8 +1112,8 @@ A jump table for the options with a short description can be found at |Q_op|. Vim does not try to send a message to an external debugger (Netbeans or Sun Workshop). - The expression may be evaluated in the |sandbox|, see - |sandbox-option|. + The expression will be evaluated in the |sandbox| when set from a + modeline, see |sandbox-option|. It is not allowed to change text or jump to another window while evaluating 'balloonexpr' |textlock|. @@ -1457,6 +1457,7 @@ A jump table for the options with a short description can be found at |Q_op|. This option is a list of comma separated names. These names are recognized: + *clipboard-unnamed* unnamed When included, Vim will use the clipboard register '*' for all yank, delete, change and put operations which would normally go to the unnamed register. When a @@ -1466,6 +1467,7 @@ A jump table for the options with a short description can be found at |Q_op|. explicitly accessed using the "* notation. Also see |gui-clipboard|. + *clipboard-unnamedplus* unnamedplus A variant of "unnamed" flag which uses the clipboard register '+' (|quoteplus|) instead of register '*' for all operations except yank. Yank shall copy the text @@ -1475,6 +1477,7 @@ A jump table for the options with a short description can be found at |Q_op|. Availability can be checked with: > if has('unnamedplus') < + *clipboard-autoselect* autoselect Works like the 'a' flag in 'guioptions': If present, then whenever Visual mode is started, or the Visual area extended, Vim tries to become the owner of the @@ -1486,9 +1489,16 @@ A jump table for the options with a short description can be found at |Q_op|. "autoselect" flag is used. Also applies to the modeless selection. + *clipboard-autoselectplus* + autoselectplus Like "autoselect" but using the + register instead of + the * register. Compare to the 'P' flag in + 'guioptions'. + + *clipboard-autoselectml* autoselectml Like "autoselect", but for the modeless selection only. Compare to the 'A' flag in 'guioptions'. + *clipboard-html* html When the clipboard contains HTML, use this when pasting. When putting text on the clipboard, mark it as HTML. This works to copy rendered HTML from @@ -1499,6 +1509,7 @@ A jump table for the options with a short description can be found at |Q_op|. Only supported for GTK version 2 and later. Only available with the |+multi_byte| feature. + *clipboard-exclude* exclude:{pattern} Defines a pattern that is matched against the name of the terminal 'term'. If there is a match, no @@ -2135,7 +2146,7 @@ A jump table for the options with a short description can be found at |Q_op|. and the cursor is right in front of the searched character, the cursor won't move. When not included, the cursor would skip over it and jump to the - following occurence. + following occurrence. POSIX flags. These are not included in the Vi default value, except when $VIM_POSIX was set on startup. |posix| @@ -3045,8 +3056,8 @@ A jump table for the options with a short description can be found at |Q_op|. The expression used for when 'foldmethod' is "expr". It is evaluated for each line to obtain its fold level. See |fold-expr|. - The expression may be evaluated in the |sandbox|, see - |sandbox-option|. + The expression will be evaluated in the |sandbox| if set from a + modeline, see |sandbox-option|. This option can't be set from a |modeline| when the 'diff' option is on. @@ -3188,8 +3199,8 @@ A jump table for the options with a short description can be found at |Q_op|. An expression which is used to specify the text displayed for a closed fold. See |fold-foldtext|. - The expression may be evaluated in the |sandbox|, see - |sandbox-option|. + The expression will be evaluated in the |sandbox| if set from a + modeline, see |sandbox-option|. It is not allowed to change text or jump to another window while evaluating 'foldtext' |textlock|. @@ -3234,8 +3245,8 @@ A jump table for the options with a short description can be found at |Q_op|. format function will be used |C-indenting|. Environment variables are expanded |:set_env|. See |option-backslash| about including spaces and backslashes. - The expression may be evaluated in the |sandbox|, see - |sandbox-option|. + This option cannot be set from a |modeline| or in the |sandbox|, for + security reasons. *'formatexpr'* *'fex'* 'formatexpr' 'fex' string (default "") @@ -3268,9 +3279,9 @@ A jump table for the options with a short description can be found at |Q_op|. When the expression evaluates to non-zero Vim will fall back to using the internal format mechanism. - The expression may be evaluated in the |sandbox|, see - |sandbox-option|. That stops the option from working, since changing - the buffer text is not allowed. + The expression will be evaluated in the |sandbox| when set from a + modeline, see |sandbox-option|. That stops the option from working, + since changing the buffer text is not allowed. *'fsync'* *'fs'* *'nofsync'* *'nofs'* 'fsync' 'fs' boolean (default on) @@ -3688,6 +3699,9 @@ A jump table for the options with a short description can be found at |Q_op|. windowing system's global selection unless explicitly told to by a yank or delete operation for the "* register. The same applies to the modeless selection. + *'go-P'* + 'P' Like autoselect but using the "+ register instead of the "* + register. *'go-A'* 'A' Autoselect for the modeless selection. Like 'a', but only applies to the modeless selection. @@ -4188,8 +4202,8 @@ A jump table for the options with a short description can be found at |Q_op|. found. Allows doing "gf" on the name after an 'include' statement. Also used for ||. - The expression may be evaluated in the |sandbox|, see - |sandbox-option|. + The expression will be evaluated in the |sandbox| when set from a + modeline, see |sandbox-option|. It is not allowed to change text or jump to another window while evaluating 'includeexpr' |textlock|. @@ -4253,8 +4267,8 @@ A jump table for the options with a short description can be found at |Q_op|. See |indent-expression|. NOTE: This option is made empty when 'compatible' is set. - The expression may be evaluated in the |sandbox|, see - |sandbox-option|. + The expression will be evaluated in the |sandbox| when set from a + modeline, see |sandbox-option|. It is not allowed to change text or jump to another window while evaluating 'indentexpr' |textlock|. @@ -4683,24 +4697,31 @@ A jump table for the options with a short description can be found at |Q_op|. {not in Vi} Strings to use in 'list' mode and for the |:list| command. It is a comma separated list of string settings. + *lcs-eol* eol:c Character to show at the end of each line. When omitted, there is no extra character at the end of the line. + *lcs-tab* tab:xy Two characters to be used to show a tab. The first char is used once. The second char is repeated to fill the space that the tab normally occupies. "tab:>-" will show a tab that takes four spaces as ">---". When omitted, a tab is show as ^I. + *lcs-trail* trail:c Character to show for trailing spaces. When omitted, trailing spaces are blank. + *lcs-extends* extends:c Character to show in the last column, when 'wrap' is off and the line continues beyond the right of the screen. + *lcs-precedes* precedes:c Character to show in the first column, when 'wrap' is off and there is text preceding the character visible in the first column. + *lcs-conceal* conceal:c Character to show in place of concealed text, when 'conceallevel' is set to 1. + *lcs-nbsp* nbsp:c Character to show for a non-breakable space (character 0xA0, 160). Left blank when omitted. @@ -5234,6 +5255,8 @@ A jump table for the options with a short description can be found at |Q_op|. invoked and what it should return. This option is usually set by a filetype plugin: |:filetype-plugin-on| + This option cannot be set from a |modeline| or in the |sandbox|, for + security reasons. *'opendevice'* *'odev'* *'noopendevice'* *'noodev'* @@ -6414,7 +6437,7 @@ A jump table for the options with a short description can be found at |Q_op|. Override the 'ignorecase' option if the search pattern contains upper case characters. Only used when the search pattern is typed and 'ignorecase' option is on. Used for the commands "/", "?", "n", "N", - ":g" and ":s". Not used for "*", "#", "gd", tag search, etc.. After + ":g" and ":s". Not used for "*", "#", "gd", tag search, etc. After "*" and "#" you can make 'smartcase' used by doing a "/" command, recalling the search pattern from history and hitting . NOTE: This option is reset when 'compatible' is set. @@ -6795,8 +6818,8 @@ A jump table for the options with a short description can be found at |Q_op|. The variable "actual_curbuf" is set to the 'bufnr()' number of the real current buffer. - The 'statusline' option may be evaluated in the |sandbox|, see - |sandbox-option|. + The 'statusline' option will be evaluated in the |sandbox| if set from + a modeline, see |sandbox-option|. It is not allowed to change text or jump to another window while evaluating 'statusline' |textlock|. @@ -7968,9 +7991,9 @@ A jump table for the options with a short description can be found at |Q_op|. {not available when compiled without the |+wildignore| feature} A list of file patterns. A file that matches with one of these - patterns is ignored when completing file or directory names, and - influences the result of |expand()|, |glob()| and |globpath()| unless - a flag is passed to disable this. + patterns is ignored when expanding |wildcards|, completing file or + directory names, and influences the result of |expand()|, |glob()| and + |globpath()| unless a flag is passed to disable this. The pattern is used like with |:autocmd|, see |autocmd-patterns|. Also see 'suffixes'. Example: > diff --git a/runtime/doc/quickfix.txt b/runtime/doc/quickfix.txt index 22562d70ba..9dd3baae0a 100644 --- a/runtime/doc/quickfix.txt +++ b/runtime/doc/quickfix.txt @@ -561,7 +561,9 @@ commands can be combined to create a NewGrep command: > *:vim* *:vimgrep* *E682* *E683* :vim[grep][!] /{pattern}/[g][j] {file} ... Search for {pattern} in the files {file} ... and set - the error list to the matches. + the error list to the matches. Files matching + 'wildignore' are ignored; files in 'suffixes' are + searched last. Without the 'g' flag each line is added only once. With 'g' every match is added. @@ -913,8 +915,8 @@ Basic items %n error number (finds a number) %m error message (finds a string) %r matches the "rest" of a single-line file message %O/P/Q - %p pointer line (finds a sequence of '-', '.' or ' ' and - uses the length for the column number) + %p pointer line (finds a sequence of '-', '.', ' ' or + tabs and uses the length for the column number) %*{conv} any scanf non-assignable conversion %% the single '%' character %s search text (finds a string) diff --git a/runtime/doc/sign.txt b/runtime/doc/sign.txt index 9771fbdc73..64fde08709 100644 --- a/runtime/doc/sign.txt +++ b/runtime/doc/sign.txt @@ -1,4 +1,4 @@ -*sign.txt* For Vim version 7.3. Last change: 2012 Jan 04 +*sign.txt* For Vim version 7.3. Last change: 2012 Jul 10 VIM REFERENCE MANUAL by Gordon Prieur @@ -153,8 +153,14 @@ REMOVING SIGNS *:sign-unplace* *E159* Remove the previously placed sign {id} from file {fname}. See remark above about {fname} |:sign-fname|. +:sign unplace * file={fname} + Remove all placed signs in file {fname}. + :sign unplace {id} buffer={nr} - Same, but use buffer {nr}. + Remove the previously placed sign {id} from buffer {nr}. + +:sign unplace * buffer={nr} + Remove all placed signs in buffer {nr}. :sign unplace {id} Remove the previously placed sign {id} from all files it diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt index 3059a34819..837c83fc68 100644 --- a/runtime/doc/syntax.txt +++ b/runtime/doc/syntax.txt @@ -1,4 +1,4 @@ -*syntax.txt* For Vim version 7.3. Last change: 2012 Apr 06 +*syntax.txt* For Vim version 7.3. Last change: 2012 Jun 13 VIM REFERENCE MANUAL by Bram Moolenaar @@ -650,7 +650,11 @@ The most flexible is to add a line in your assembly file containing: > asmsyntax=nasm Replace "nasm" with the name of the real assembly syntax. This line must be one of the first five lines in the file. No non-white text must be -immediately before or after this text. +immediately before or after this text. Note that specifying asmsyntax=foo is +equivalent to setting ft=foo in a |modeline|, and that in case of a conflict +between the two settings the one from the modeline will take precedence (in +particular, if you have ft=asm in the modeline, you will get the GNU syntax +highlighting regardless of what is specified as asmsyntax). The syntax type can always be overruled for a specific buffer by setting the b:asmsyntax variable: > @@ -2909,7 +2913,7 @@ Some folding is now supported with syntax/vim.vim: > g:vimsyn_folding =~ 'P' : fold python script g:vimsyn_folding =~ 'r' : fold ruby script g:vimsyn_folding =~ 't' : fold tcl script - +< *g:vimsyn_noerror* Not all error highlighting that syntax/vim.vim does may be correct; VimL is a difficult language to highlight correctly. A way to suppress error diff --git a/runtime/doc/tabpage.txt b/runtime/doc/tabpage.txt index a30d3a1797..a2da5b3073 100644 --- a/runtime/doc/tabpage.txt +++ b/runtime/doc/tabpage.txt @@ -173,10 +173,20 @@ Other commands: REORDERING TAB PAGES: :tabm[ove] [N] *:tabm* *:tabmove* +:[N]tabm[ove] Move the current tab page to after tab page N. Use zero to make the current tab page the first one. Without N the tab page is made the last one. +:tabm[ove] +[N] +:tabm[ove] -[N] + Move the current tab page N places to the right (with +) or to + the left (with -). + +Note that although it is possible to move a tab behind the N-th one by using +:Ntabmove, it is impossible to move it by N places by using :+Ntabmove. For +clarification what +N means in this context see |[range]|. + LOOPING OVER TAB PAGES: diff --git a/runtime/doc/tags b/runtime/doc/tags index 83d34230c1..afa2442487 100644 --- a/runtime/doc/tags +++ b/runtime/doc/tags @@ -285,6 +285,7 @@ $VIMRUNTIME starting.txt /*$VIMRUNTIME* 'go-F' options.txt /*'go-F'* 'go-L' options.txt /*'go-L'* 'go-M' options.txt /*'go-M'* +'go-P' options.txt /*'go-P'* 'go-R' options.txt /*'go-R'* 'go-T' options.txt /*'go-T'* 'go-a' options.txt /*'go-a'* @@ -3455,6 +3456,7 @@ ColorScheme autocmd.txt /*ColorScheme* Colors.plist gui_mac.txt /*Colors.plist* Command-line cmdline.txt /*Command-line* Command-line-mode cmdline.txt /*Command-line-mode* +CompleteDone autocmd.txt /*CompleteDone* Contents quickref.txt /*Contents* Cscope if_cscop.txt /*Cscope* CursorHold autocmd.txt /*CursorHold* @@ -4289,7 +4291,11 @@ E852 gui_x11.txt /*E852* E853 eval.txt /*E853* E854 options.txt /*E854* E855 autocmd.txt /*E855* +E858 eval.txt /*E858* +E859 eval.txt /*E859* E86 windows.txt /*E86* +E860 eval.txt /*E860* +E861 eval.txt /*E861* E87 windows.txt /*E87* E88 windows.txt /*E88* E89 message.txt /*E89* @@ -4473,6 +4479,7 @@ QuickFixCmdPost-example quickfix.txt /*QuickFixCmdPost-example* QuickFixCmdPre autocmd.txt /*QuickFixCmdPre* Quickfix quickfix.txt /*Quickfix* Quickstart gui_mac.txt /*Quickstart* +QuitPre autocmd.txt /*QuitPre* R change.txt /*R* RISC-OS os_risc.txt /*RISC-OS* RISCOS os_risc.txt /*RISCOS* @@ -5061,6 +5068,13 @@ clearmatches() eval.txt /*clearmatches()* client-server remote.txt /*client-server* clientserver remote.txt /*clientserver* clipboard gui.txt /*clipboard* +clipboard-autoselect options.txt /*clipboard-autoselect* +clipboard-autoselectml options.txt /*clipboard-autoselectml* +clipboard-autoselectplus options.txt /*clipboard-autoselectplus* +clipboard-exclude options.txt /*clipboard-exclude* +clipboard-html options.txt /*clipboard-html* +clipboard-unnamed options.txt /*clipboard-unnamed* +clipboard-unnamedplus options.txt /*clipboard-unnamedplus* cmd-key gui_mac.txt /*cmd-key* cmd-movement gui_mac.txt /*cmd-movement* cmd-shortcuts gui_mac.txt /*cmd-shortcuts* @@ -6569,6 +6583,13 @@ last-pattern pattern.txt /*last-pattern* last-position-jump eval.txt /*last-position-jump* last_buffer_nr() eval.txt /*last_buffer_nr()* lc_time-variable eval.txt /*lc_time-variable* +lcs-conceal options.txt /*lcs-conceal* +lcs-eol options.txt /*lcs-eol* +lcs-extends options.txt /*lcs-extends* +lcs-nbsp options.txt /*lcs-nbsp* +lcs-precedes options.txt /*lcs-precedes* +lcs-tab options.txt /*lcs-tab* +lcs-trail options.txt /*lcs-trail* left-right-motions motion.txt /*left-right-motions* len() eval.txt /*len()* less various.txt /*less* @@ -6620,6 +6641,7 @@ lua if_lua.txt /*lua* lua-buffer if_lua.txt /*lua-buffer* lua-commands if_lua.txt /*lua-commands* lua-dict if_lua.txt /*lua-dict* +lua-eval if_lua.txt /*lua-eval* lua-list if_lua.txt /*lua-list* lua-luaeval if_lua.txt /*lua-luaeval* lua-vim if_lua.txt /*lua-vim* @@ -6628,6 +6650,8 @@ lua.vim syntax.txt /*lua.vim* luaeval() eval.txt /*luaeval()* m motion.txt /*m* m' motion.txt /*m'* +m< motion.txt /*m<* +m> motion.txt /*m>* m[ motion.txt /*m[* m] motion.txt /*m]* m` motion.txt /*m`* @@ -7322,7 +7346,10 @@ pterm-mouse options.txt /*pterm-mouse* pumvisible() eval.txt /*pumvisible()* put change.txt /*put* put-Visual-mode change.txt /*put-Visual-mode* +py3eval() eval.txt /*py3eval()* +pyeval() eval.txt /*pyeval()* python if_pyth.txt /*python* +python-bindeval if_pyth.txt /*python-bindeval* python-buffer if_pyth.txt /*python-buffer* python-buffers if_pyth.txt /*python-buffers* python-command if_pyth.txt /*python-command* @@ -7334,6 +7361,7 @@ python-eval if_pyth.txt /*python-eval* python-examples if_pyth.txt /*python-examples* python-input if_pyth.txt /*python-input* python-output if_pyth.txt /*python-output* +python-pyeval if_pyth.txt /*python-pyeval* python-range if_pyth.txt /*python-range* python-vim if_pyth.txt /*python-vim* python-window if_pyth.txt /*python-window* diff --git a/runtime/doc/todo.txt b/runtime/doc/todo.txt index ba824ac8b8..fd19683abd 100644 --- a/runtime/doc/todo.txt +++ b/runtime/doc/todo.txt @@ -1,4 +1,4 @@ -*todo.txt* For Vim version 7.3. Last change: 2012 May 18 +*todo.txt* For Vim version 7.3. Last change: 2012 Jul 11 VIM REFERENCE MANUAL by Bram Moolenaar @@ -38,32 +38,44 @@ Go through more coverity reports. Discussion about canonicalization of Hebrew. (Ron Aaron, 2011 April 10) -Bug caused by patch 7.3.449. (Alex Afros, May 16) - -Add link to i/OS version on download page: -http://applidium.com/en/applications/vim/ - GTK: problem with 'L' in 'guioptions' changing the window width. (Aaron Cornelius, 2012 Feb 6) -Patch: home_replace() does not work whtn 8.3 filename. (Yasuhiro -Matsumoto, 2012 Apr 18) Asked for another version of the patch. -Again May 18. +Checking runtime scripts: Thilo Six, 2012 Jun 6. + +List of broken mirrors. (Chris Pentago, 2012 Jun 15) +/tmp/broken-mirrors.csv Javascript file where indent gets stuck on: GalaxyMaster, 2012 May 3. -Spell checking: "zg" doesn't pick up the "ß" character. (Axel Bender, 2012 May -1) +Patch to fix black on black for terminal with 8 colors. +(James McCoy, 2012 Jul 10) + +Patch to make winrestview() work better. (Lech Lorens, 2012 Jul 10) + +The CompleteDone autocommand needs some info passed to it: +- The word that was selected (empty if abandoned complete) +- Type of completion: tag, omnifunc, user func. + +Completefunc gets number passed instead of string. +Patch from Yakuhiro Matsumoto, 2012 Jul 10 + +User command complete can't handle spaces. Patch by Yasuhiro Matsumoto, 2012 +Jul 11. Win32: When a directory name contains an exclamation mark, completion doesn't complete the contents of the directory. No escaping for the "!"? (Jan Stocker, 2012 Jan 5) +Help for v/V is not quite right. (Ben Fritz, 2012 Jun 4) +Change [count]v to select last visual area [count] times? + Issue 54: document behavior of -complete, also expands arg. -Cursor on wrong line after ":copen". (John Beckett, 2012 Apr 30) -Fix by Christian Brabandt, 2012 May 2. But calling changed_window_setting() -would be a simpler solution. +Issue 72: 'autochdir' causes problems for :vimgrep. + +MS-Windows: Crash opening very long file name starting with "\\". +(Christian Brock, 2012 Jun 29) Syntax update problem in one buffer opened in two windows, bottom window is not correctly updated. (Paul Harris, 2012 Feb 27) @@ -71,37 +83,33 @@ not correctly updated. (Paul Harris, 2012 Feb 27) Patch to add getsid(). (Tyru, 2011 Oct 2) Do we want this? Update Oct 4. Or use expand('')? -Win32: When the taskbar is at the top of the screen creating the tabbar causes -the window to move unnecessarily. (William E. Skeith III, 2012 Jan 12) -Patch: 2012 Jan 13 Needs more work (2012 Feb 2) +MS-Windows resizing problems: +- Windows window on screen positioning: Patch by Yukihiro Nakadaira, 2012 Jun + 20. Uses getWindowRect() instead of GetWindowPlacement() +- Win32: When the taskbar is at the top of the screen creating the tabbar + causes the window to move unnecessarily. (William E. Skeith III, 2012 Jan + 12) Patch: 2012 Jan 13 Needs more work (2012 Feb 2) + +'iminsert' global value set when using ":setlocal iminsert"? (Wu, 2012 Jun 23) + +Help for b:undo_indent'. (Thilo Six, 2012 May 28) +Also question if examples are correct. + +The input map for CTRL-O in mswin.vim causes problems after CTRL-X CTRL-O. +Suggestion for another map. (Philip Mat, 2012 Jun 18) +But use "gi" instead of "a". Or use CTRL-\ CTRL-O. URXVT: - will get stuck if byte sequence does not containe expected semicolon. - Use urxvt mouse support also in xterm. Explanations: http://www.midnight-commander.org/ticket/2662 -Patches from Debian for python ftplugin. (Thilo Six, 2012 May 6) -Also patches from Debian for Spanish translations. - -Patch for IBM z/OS makefile. (Stephen Bovy, 2012 Apr 26) -Patch for configure (Stephen Bovy, 2012 Apr 28) -Updates later. Context diff May 7. +Patch to add tests for if_xcmdsrv.c., Jul 8, need some more work. (Brian Burns) When running Vim in silent ex mode, an existing swapfile causes Vim to wait for a user action without a prompt. (Maarten Billemont, 2012 Feb 3) Do give the prompt? Quit with an error? -Patch for: (Christian Brabandt, 2011 Aug 24, updated patch) -8 ":sign unplace * file={filename}" should work. Also: ":sign unplace * - buffer={bufnr}". So one can remove all signs for one file/buffer. - -Patch for auto copy selecting to + register. (by Christian Brabant, in email -from Sergey Vakulenko, 2012 Apr 27) - -Patch to add "onselected" callback for completion. (Taro Muraoka, 2011 Sep 24) -Another for CompleteFuncOk. (Florian Klein, 2012 Jan 31) -Name it "CompleteFuncDone". - Patch for Make_mvc.mak and Make_ming.mak for Ruby support. (Yasuhiro Matsumoto, 2012 Jan 30) @@ -112,17 +120,23 @@ Patch to list user digraphs. (Christian Brabandt, 2012 Apr 14) Patch for input method status. (Hirohito Higashi, 2012 Apr 18) -Use a count before "v" and "V" to select that many characters or lines? -(Kikyous) - Problem with winfixheight and resizing. (Yukihiro Nakadaira, 2011 Sep 17) Patch Sep 18. Patch for has('unnamedplus') docs. (Tony Mechelynck, 2011 Sep 27) And one for gui_x11.txt. -Patch for Python: add pyeval() and vim.bindeval() (zyx, 2012 Apr 15, update -Apr 16) Also changes for Lua. Update Apr 19. Update Apr 22. +- Patch for 'breakindent' option: repeat indent for wrapped line. (Vaclav + Smilauer, 2004 Sep 13, fix Oct 31, update 2007 May 30) + Version for latest MacVim: Tobia Conforto, 2009 Nov 23 + More recent version: https://retracile.net/wiki/VimBreakIndent + Posted to vim-dev by Taylor Hedberg, 2011 Nov 25 + +Problem with starting Visual block mode with :norm when 'virtualedit' is set. +(David glts, 2012 Jun 5) + +When 'guioptions' contains 'c' (use console dialog) then inputdialog() returns +a different value when the dialog is cancelled. (David Fishburn, 2012 Jul 10) ":cd" doesn't work when current directory path contains "**". finddir() has the same problem. (Yukihiro Nakadaira, 2012 Jan 10) @@ -130,8 +144,13 @@ Requires a rewrite of the file_file_in_path code. Problem with l: dictionary being locked in a function. (ZyX, 2011 Jul 21) +Should use has("browsefilter") in ftplugins. Requires patch 7.3.593. + Issue 48: foldopen error can't be caught by try/catch +"dg_" deletes including the last character, "d:normal! g_" doesn't. +(Nomen Nescio, 2012 Jun 27) + Patch to sort functions starting with '<' after others. Omit dict functions, they can't be called. (Yasuhiro Matsumoto, 2011 Oct 11) @@ -140,6 +159,9 @@ Patch to pass list to or(), and() and xor(). (Yasuhiro Matsumoto, 2012 Feb 8) Patch to improve "it" and "at" text object matching. (Christian Brabandt, 2011 Nov 20) +Patch to improve GUI find/replace dialog. (Christian Brabandt, 2012 May 26) +Update Jun 2. + Patch to add ":py3do". (Lilydjwg, 2012 Apr 7) `[ moves to character after insert, instead of the last inserted character. @@ -147,6 +169,9 @@ Patch to add ":py3do". (Lilydjwg, 2012 Apr 7) Plugin for Modeleasy. (Massimiliano Tripoli, 2011 Nov 29) +When using remote-silent the -R flag is not passed on. (Axel Bender, 2012 May +31) + Updated syntax file for ssh_config, maintainer doesn't respond. (Leonard Ehrenfried, 2011 Sep 26) @@ -161,6 +186,11 @@ Patch to support cursor shape in Cygwin console. (Ben bgold, 2011 Dec 27) Patch to support UTF-8 for Hangul. (Shawn Y.H. Kim, 2011 May 1) Needs more work. Pinged 2012 Jan 4. +Issue 64: when 'incsearch' is on can't paste LF on command line. + +On MS-Windows a temp dir with a & init causes system() to fail. (Ben Fritz, +2012 Jun 19) + 'cursorline' is displayed too short when there are concealed characters and 'list' is set. (Dennis Preiser) Patch 7.3.116 was the wrong solution. @@ -1617,11 +1647,6 @@ Awaiting updated patches: 7 Completion of network shares, patch by Yasuhiro Matsumoto. Update 2004 Sep 6. How does this work? Missing comments. -- Patch for 'breakindent' option: repeat indent for wrapped line. (Vaclav - Smilauer, 2004 Sep 13, fix Oct 31, update 2007 May 30) - Version for latest MacVim: Tobia Conforto, 2009 Nov 23 - More recent version: https://retracile.net/wiki/VimBreakIndent - Posted to vim-dev by Taylor Hedberg, 2011 Nov 25 8 Add a few more command names to the menus. Patch from Jiri Brezina (28 feb 2002). Will mess the translations... 7 ATTENTION dialog choices are more logical when "Delete it' appears @@ -2639,8 +2664,6 @@ Tab pages: font, etc.) 8 Make GUI menu in tab pages line configurable. Like the popup menu. 8 balloons for the tab page labels that are shortened to show the full path. -8 :tabmove +N move tab page N pages forward -8 :tabmove -N move tab page N pages backward 7 :tabdup duplicate the tab with all its windows. 7 Option to put tab line at the left or right? Need an option to specify its width. It's like a separate window with ":tabs" output. @@ -2942,6 +2965,8 @@ Syntax highlighting: this isn't reset. Add a special keyword definition for the syntax rules? When this is done, use vim.vim syntax highlighting for help file examples, but without ":" in 'iskeyword' for syntax. + Also need a separate 'iskeyword' for the command line, e.g., in a help + window ":e /asdf/asdf/" CTRL-W works different. 8 Add specific syntax item to match with parens/braces that don't have a "%" match. :syntax nomatch cMatchError (,{,[,),},] [contained] 8 Highlight the text between two matching parens (e.g., with a grey @@ -3942,7 +3967,6 @@ Insert mode: - Add option to 'cindent' to set indent for comments outside of {}? - Make a command to line up a comment after a code line with a previous comment after a code line. Can 'cindent' do this automatically? -7 Add 'j' flag to 'formatoptions': Remove comment leader when joining lines. - When 'cindent'ing a '}', showmatch is done before fixing the indent. It looks better when the indent is fixed before the showmatch. (Webb) - Add option to make indenting work in comments too (for commented-out @@ -4899,6 +4923,7 @@ Various improvements: - Make it possible for the 'showbreak' to be displayed at the end of the line. Use a comma to separate the part at the end and the start of the line? Highlight the linebreak characters, add flag in 'highlight'. + Make 'showbreak' local to a window. - Some string options should be expanded if they have wildcards, e.g. 'dictionary' when it is "*.h". - Use a specific type for number and boolean options, making it possible to diff --git a/runtime/doc/uganda.txt b/runtime/doc/uganda.txt index 3f23f1dc12..82481dc27b 100644 --- a/runtime/doc/uganda.txt +++ b/runtime/doc/uganda.txt @@ -1,4 +1,4 @@ -*uganda.txt* For Vim version 7.3. Last change: 2010 Aug 07 +*uganda.txt* For Vim version 7.3. Last change: 2012 May 28 VIM REFERENCE MANUAL by Bram Moolenaar @@ -266,7 +266,7 @@ Credit Card: You can use PayPal to send money with a Credit card. This is Others: Transfer to one of these accounts if possible: Postbank, account 4548774 Swift code: INGB NL 2A - IBAN: NL47 PSTB 0004 5487 74 + IBAN: NL95 INGB 0004 5487 74 under the name "stichting ICCF Holland", Lisse If that doesn't work: Rabobank Lisse, account 3765.05.117 diff --git a/runtime/doc/version6.txt b/runtime/doc/version6.txt index 17a29e4bdb..28b98a898d 100644 --- a/runtime/doc/version6.txt +++ b/runtime/doc/version6.txt @@ -2452,7 +2452,7 @@ differently. ":n *.c" ":cd .." ":n" didn't use the original directory of the file. Vi only does it for the current file (looks like a bug). Now remember the buffer used -for the entry in the argument list and use it's name (adjusted when doing +for the entry in the argument list and use its name (adjusted when doing ":cd"), unless it's deleted. When inserting a special key as its name ("" as four characters) after @@ -3675,7 +3675,7 @@ When double clicking on the first character of a word while 'selection' is Patch 6.0.001 -Problem: Loading the sh.vim syntax file causes error messages . (Corinna +Problem: Loading the sh.vim syntax file causes error messages. (Corinna Vinschen) Solution: Add an "if". (Charles Campbell) Files: runtime/syntax/sh.vim @@ -9091,7 +9091,7 @@ Files: src/Make_w16.mak, src/testdir/Make_dos.mak Patch 6.1.402 Problem: When evaluating a function name with curly braces, an error is not handled consistently. -Solution: Accept the result of an curly braces expression when an +Solution: Accept the result of a curly braces expression when an error was encountered. Skip evaluating an expression in curly braces when skipping. (Servatius Brandt) Files: src/eval.c diff --git a/runtime/doc/version7.txt b/runtime/doc/version7.txt index 197c0cc8a6..c1383c214f 100644 --- a/runtime/doc/version7.txt +++ b/runtime/doc/version7.txt @@ -9074,7 +9074,7 @@ Patch 7.2.280 Problem: A redraw in a custom statusline with %! may cause a crash. (Yukihiro Nakadaira) Solution: Make a copy of 'statusline'. Also fix typo in function name - redraw_custum_statusline. (partly by Dominique Pelle) + redraw_custom_statusline. (partly by Dominique Pelle) Files: src/screen.c Patch 7.2.281 diff --git a/runtime/doc/vim-de.1 b/runtime/doc/vim-de.1 new file mode 100644 index 0000000000..0ba4938f7a --- /dev/null +++ b/runtime/doc/vim-de.1 @@ -0,0 +1,478 @@ +.\"******************************************************************* +.\" +.\" This file was generated with po4a. Translate the source file. +.\" +.\"******************************************************************* +.\" Translated by bw1 (2008) and Florian Rehnisch (2012) +.\" Kudos to the folks on vim-dev and debian-l10n-german +.TH VIM 1 "2006 Apr 11" +.SH BEZEICHNUNG +vim \- Vi IMproved, ein Text\-Editor für Programmierer +.SH ÜBERSICHT +.br +\fBvim\fP [Optionen] [Datei ...] +.br +\fBvim\fP [Optionen] \- +.br +\fBvim\fP [Optionen] \-t Tag +.br +\fBvim\fP [Optionen] \-q [Fehlerdatei] +.PP +.br +\fBex\fP +.br +\fBview\fP +.br +\fBgvim\fP \fBgview\fP \fBevim\fP \fBeview\fP +.br +\fBrvim\fP \fBrview\fP \fBrgvim\fP \fBrgview\fP +.SH BESCHREIBUNG +\fBVim\fP ist ein Text\-Editor, der aufwärtskompatibel zu Vi ist. Er kann +verwendet werden, um alle Arten von Klartext zu bearbeiten. Er ist besonders +nützlich, um Programme zu bearbeiten. +.PP +Vim hat einige Erweiterungen gegenüber Vi, z.B.: Rückgängigmachen in +mehreren Schritten, mehrere Fenster und Puffer, Syntax\-Hervorhebung, +Bearbeiten der Befehlszeile, Dateinamenergänzung, eingebaute Hilfe, visuelle +Auswahl, usw. ... Siehe »:help vi_diff.txt« für eine Übersicht der +Unterschiede zwischen \fBVim\fP und Vi. +.PP +Im laufenden \fBVim\fP kann mit dem Befehl »:help« viel Hilfe durch das +eingebaute Hilfesystem erlangt werden. Siehe den Abschnitt EINGEBAUTE HILFE +weiter unten. +.PP +Meistens wird \fBVim\fP zum Editieren einer einzigen Datei mit dem folgende +Befehl gestartet: +.PP + vim Datei +.PP +Allgemeiner betrachtet, wird \fBVim\fP folgendermaßen gestartet: +.PP + vim [Optionen] [Dateiliste] +.PP +Bei einer fehlenden Dateiliste startet der Editor mit einem leeren +Puffer. Andernfalls werden nach den folgenden vier Möglichkeiten eine oder +mehrere Dateien bearbeitet: +.TP 12 +Datei ... +Eine Liste von Dateinamen. Die erste Datei wird in den Puffer geladen und +zur aktuellen. Der Cursor wird auf der ersten Zeile des Puffers +platziert. Zu den anderen Dateien kann mit dem Befehl »:next« gelangt +werden. Falls einer der Dateinamen mit einem Bindestrich beginnt, stellen +Sie der Dateiliste »\-\-« voran. +.TP +\- +Die zu bearbeitende Datei wird von der Standardeingabe gelesen. Befehle +werden von der Standardfehlerausgabe gelesen, die ein Text\-Terminal sein +sollte. +.TP +\-t {Tag} +Die zu editierende Datei und die anfängliche Cursor\-Position hängen von +einem »Tag« ab, einer Art Sprungmarke. {Tag} wird in der Tag\-Datei +nachgeschlagen, die zugehörige Datei wird zur aktuellen und der zugehörige +Befehl wird ausgeführt. Dies wird meistens für Programme in der Sprache »C« +benutzt, wobei {Tag} ein Funktionsname sein könnte. Die Wirkung dieses +Befehls ist, dass die Datei, die die Funktion enthält, als aktuelle im +Editor geöffnet und angezeigt wird und der Cursor auf dem Beginn der +Funktion positioniert wird. Siehe »:help tag\-commands«. +.TP +\-q [Fehlerdatei] +Startet im QuickFix\-Modus. Die Datei [Fehlerdatei] wird gelesen und der +erste Fehler wird angezeigt. Falls [Fehlerdatei] ausgelassen wird, wird der +Dateiname aus der Option 'errorfile' verwendet (bei AmigaOS ist dies +vorgabemäßig »AztecC.Err«, sowie "errors.err« bei anderen). Weitere Fehler +können mit dem »:cn«\-Befehl angesprungen werden. Siehe ":help quickfix«. +.PP +\fBVim\fP reagiert unterschiedlich auf den Namen, der verwendet wird, um Vim zu +starten (die ausführbare Datei kann dieselbe sein). +.TP 10 +vim +der »normale« Weg, alles ist standardmäßig +.TP +ex +Startet im Ex\-Modus. Mit dem Befehl »:vi« gelangt man in den normalen +Modus. Funktioniert auch mit dem Argument »\-e«. +.TP +view +Startet im Nur\-Lesen\-Modus. Die Datei wird vor dem Überschreiben +geschützt. Dasselbe wird mit dem Parameter »\-R« erreicht. +.TP +gvim gview +Die grafische Version: Öffnet ein neues Fenster. Dasselbe wird mit dem +Parameter »\-g« erreicht. +.TP +evim eview +Die grafische Version im einfachen Modus: Öffnet ein neues Fenster. Dasselbe +wird mit dem Parameter »\-y« erreicht. +.TP +rvim rview rgvim rgview +Wie die obigen, aber mit Beschränkungen: Es ist nicht möglich, Shell\-Befehle +aufzurufen oder mit Unterbrechung in eine Shell zurückzuspringen. Dasselbe +wird mit dem Parameter »\-Z« erreicht. +.SH OPTIONEN +Die Optionen können in beliebiger Reihenfolge vor oder nach den Dateinamen +angegeben werden. Optionen ohne Parameter können hinter einem einzigen +Bindestrich gruppiert werden. +.TP 12 ++[Nummer] +In der ersten Datei wird der Cursor auf die Zeile [Nummer] gesetzt. Falls +[Nummer] nicht angegeben wird, wird der Cursor in die letzte Zeile der Datei +gesetzt. +.TP ++/{Suchmuster} +In der ersten Datei wird der Cursor auf das erste Auftreten von {Suchmuster} +gesetzt. Siehe »:help search\-pattern«. +.TP ++{Befehl} +.TP +\-c {Befehl} +{Befehl} wird nach dem Lesen der ersten Datei ausgeführt. Als {Befehl} wird +ein Ex\-Befehl erwartet. Sind in {Befehl} Leerzeichen vorhanden, muss alles +in Anführungszeichen gesetzt werden (hängt von der verwendeten Shell +ab). Beispiel: vim "+set si" main.c +.br +Anmerkung: Sie können bis zu 10 »+«\- oder "\-c«\-Befehle verwenden. +.TP +\-S {Datei} +{Datei} wird nach dem Lesen der ersten Datei ausgeführt. Dies entspricht »\-c +"source {Datei}"«. {Datei} darf nicht mit einem Bindestrich (\-) +anfangen. Wenn kein Dateiname angegeben wird, wird »Session.vim« verwendet +(Funktioniert nur, wenn »\-S« als letzter Parameter steht). +.TP +\-\-cmd {Befehl} +Wie »\-c«, aber dieser Befehl wird vor allen VimRC\-Dateien ausgeführt. Sie +können unabhängig von den »\-c«\-Befehlen bis zu 10 dieser Befehle verwenden. +.TP +\-A +Falls \fBVim\fP mit Unterstützung für das Schreiben von rechts nach links und +arabischer Tastaturbelegung compiliert wurde (ARABIC), startet dieser +Parameter den Modus fürs Arabische (:set arabic). Anderenfalls beendet sich +\fBVim\fP mit einer Fehlermeldung. +.TP +b +Binärer Modus: Es werden einige Variablen gesetzt, sodass es möglich ist, +eine binäre oder ausführbare Datei zu bearbeiten. +.TP +\-C +Kompatibel: Setzt die Option 'compatible'. Das macht \fBVim\fP im Verhalten +sehr ähnlich zu Vi, selbst wenn eine VimRC\-Datei existiert. +.TP +\-d +Startet im diff\-Modus. Es sollten zwei, drei oder vier Dateinamen als +Parameter übergeben werden. \fBVim\fP öffnet sie alle und zeigt die +Unterschiede an. Arbeitet wie vimdiff(1). +.TP +\-d {Gerät} +Öffnet das {Gerät}, um es als Terminal zu nutzen. Nur für AmigaOS. Beispiel: +"\-d con:20/30/600/150". +.TP +D +Debug\-Modus: \fBVim\fP geht in den Debug\-Modus, wenn der erste Befehl in einem +Skript ausgeführt wird. +.TP +\-e +Startet \fBVim\fP im Ex\-Modus, als würde als ausführbare Datei »ex« aufgerufen. +.TP +\-E +Startet \fBVim\fP im erweiterten Ex\-Modus, als würde die ausführbare Datei als +»exim« aufgerufen. +.TP +\-f +Vordergrund: Bei der GUI\-Version erzeugt \fBVim\fP keinen neuen Prozess und +löst sich nicht von der Shell, in der er aufgerufen wurde. Bei AmigaOS wird +kein neues Fenster geöffnet. Dieser Parameter wird benutzt, damit das +aufrufende Programm auf das Beenden des Bearbeitungssitzung wartet (z.B.: +mail). Bei AmigaOS funktionieren die Befehle »:sh« und ":!« nicht. +.TP +\-\-nofork +Vordergrund: Bei der GUI\-Version erzeugt \fBVim\fP keinen neuen Prozess und +löst sich nicht von der Shell, in der er aufgerufen wurde. +.TP +\-F +Wenn \fBVim\fP mit FKMAP\-Unterstützung für das Schreiben von rechts nach links +und Farsi\-Tastatur\-Belegung kompiliert wurde, startet Vim im Farsi\-Modus, +d.h. die Optionen 'fkmap' und 'rightleft' werden gesetzt. Andernfalls bricht +\fBVim\fP mit einer Fehlermeldung ab. +.TP +\-g +Falls \fBVim\fP mit GUI\-Unterstützung kompiliert wurde, wird die GUI +aktiviert. Falls keine GUI\-Unterstützung einkompiliert wurde, wird mit einer +Fehlermeldung abgebrochen. +.TP +\-h +Gibt eine kleine Hilfe für die Befehlszeilenparameter aus. Danach beendet +sich \fBVim.\fP +.TP +\-H +Hebräisch\-Modus, falls \fBVim\fP mit RIGHTLEFT\-Unterstützung für das Schreiben +von rechts nach links und hebräischer Tastaturbelegung kompiliert wurde, +werden die Optionen 'hkmap' und 'rightleft' gesetzt. Andernfalls beendet +sich \fBVim\fP mit einer Fehlermeldung. +.TP +\-i {VimInfo} +Wenn eine VimInfo\-Datei verwendet wird: Verwendet statt »~/.viminfo« die +angegebene Datei. Es ist auch möglich die Verwendung einer VimInfo\-Datei +durch Angabe des Dateinamen »NONE« zu verhindern, +.TP +\-L +dasselbe wie »\-r« +.TP +\-l +Lisp\-Modus. Aktiviert die Optionen 'lisp' und 'showmatch'. +.TP +\-m +Deaktiviert das Verändern von Dateien, indem die Option 'write' gelöscht +wird. Der Puffer kann verändert werden, nur das Schreiben einer Datei ist +nicht möglich. +.TP +\-M +Keine Veränderungen erlaubt: Die Optionen 'modifiable' und 'write' werden +gelöscht, so dass Änderungen nicht erlaubt sind und Dateien nicht +geschrieben werden können. Man beachte, dass diese Optionen ('modifiable', +\&'write') dennnoch nachträglich zum Erlauben von Änderungen gesetzt werden +können. +.TP +\-N +Nicht\-kompatibler Modus: Löscht die Option 'compatible'. Dies veranlasst +\fBVim\fP, sich ein wenig besser, aber weniger Vi\-kompatibel zu verhalten, +selbst wenn es keine VimRC\-Datei gibt. +.TP +\-n +Verwendet keine Auslagerungsdatei: Eine Wiederherstellung nach einem Absturz +ist nicht möglich. Auf einem langsamen Medium (Diskette) kann diese +Einstellung nützlich sein. Kann auch mit »set uc=0« erreicht werden; kann +mit »set uc=200« aufgehoben werden. +.TP +\-nb +\fBVim\fP fungiert als Server für NetBeans. Details siehe Dokumentation. +.TP +\-o[N] +Öffnet [N] Fenster übereinander. Wenn keine Zahl angegeben wird, öffne ein +Fenster pro Datei. +.TP +\-O[N] +Öffnet [N] Fenster nebeneinander. Wenn keine Zahl angegeben wird, öffne ein +Fenster pro Datei. +.TP +\-p[N] +Öffnet [N] Reiterseiten. Wenn keine Zahl angegeben wird, öffne eine +Reiterseite pro Datei. +.TP +\-R +Nur\-Lesen\-Modus: Die Option 'readonly' wird gesetzt. Der Puffer kann noch +bearbeitet werden, aber es wird verhindert, eine Datei aus Versehen zu +überschreiben. Wenn Sie wirklich eine Datei überschreiben wollen, fügen Sie +dem Ex\-Befehl ein Ausrufezeichen hinzu (wie in »:w!«). Die Option "\-R« +bedingt die Option »\-n« (siehe oben). Die Option 'readonly' kann durch ":set +noro« gelöscht werden. Siehe »:help 'readonly'«. +.TP +\-r +Listet die Auslagerungsdateien und gibt Informationen zu ihrer +Verwendbarkeit zur Wiederherstellung. +.TP +\-r {Datei} +Wiederherstellungsmodus: Die Auslagerungsdatei wird zur Wiederherstellung +verwendet und hat denselben Dateinamen wie die Text\-Datei + ».swp«. Siehe +":help recovery«. +.TP +\-s +Der stille Modus: Nur wenn die ausführbare Datei als »ex« aufgerufen wird +oder vor »\-s« die Option "\-e« gegeben wird. +.TP +\-s {Eingabeskript} +Die Datei {Eingabeskript} wird gelesen und ausgeführt, als würden Sie die +Zeichen in ihr tippen. Dasselbe kann mit dem Befehl »:source! +{Eingabeskript}« erreicht werden. Wird das Ende der Datei vor dem Beenden +des Editors erreicht, werden weitere Zeichen von der Tastatur gelesen. +.TP +\-T {Terminal} +Setzt den Namen des benutzten Terminals. Nur erforderlich, wenn die +Automatik nicht funktioniert. Sollte ein \fBVim\fP bekanntes Terminal sein: +(builtin) oder in einer termcap\- oder terminfo\-Datei definiert. +.TP +\-u {VimRC} +Verwendet zur Initialisierung die Befehle in der Datei {VimRC}. Alle anderen +Initialisierungen werden übersprungen. Benutzen Sie dies, um eine besondere +Art von Dateien zu bearbeiten. Dies kann auch benutzt werden, um alle +Initialisierungen zu überspringen, indem der Name »NONE« angegeben wird. Für +weitere Einzelheiten siehe »:help initialisation« innerhalb von Vim. +.TP +\-U {GvimRC} +Benutzt die Befehle in der Datei {GvimRC} für die Initialisierung der +grafischen Oberfläche. Alle anderen Initialisierungen werden +übersprungen. Dies kann ebenfalls benutzt werden, um alle +GUI\-Initialisierungen zu überspringen, indem der Name »NONE« angegeben +wird. Siehe »:help gui\-init« innerhalb von Vim für weitere Einzelheiten. +.TP +\-V[N] +Ausführlich (verbose): Gibt Meldungen darüber, welche Befehlsdateien +eingelesen werden, und über das Lesen und Schreiben einer VimInfo\-Datei. Die +optionale Zahl N ist der Wert für 'verbose'. Vorgabe ist 10. +.TP +\-v +Startet \fBVim\fP im Vi\-Modus, so als würde die ausführbare Datei mit »vi« +aufgerufen. Dies wirkt sich nur aus, wenn die ausführbare Datei als »ex« +aufgerufen wird. +.TP +\-w {Ausgabeskript} +Alle Zeichen, die eingetippt werden, werden in der Datei {Ausgabeskript} +aufgezeichnet, solange bis Sie \fBVim\fP beenden. Dies ist nützlich, falls Sie +eine Skript\-Datei zum Benutzen mit »vim \-s« oder ":source!« erzeugen +wollen. Falls die Datei {Ausgabeskript} vorhanden ist, werden die Zeichen +angehängt. +.TP +\-W {Ausgabeskript} +Wie \-w, aber eine bereits vorhandene Datei wird überschrieben. +.TP +\-x +Benutzt beim Schreiben von Dateien eine Verschlüsselung. Fragt nach dem +Schlüssel. +.TP +\-X +Führt keine Verbindung zum X\-Server durch. Dadurch verkürzt sich die +Startzeit, aber der Fenstertitel und die Zwischenablage werden nicht +verwendet. +.TP +\-y +Startet \fBVim\fP im einfachen Modus, als würde die ausführbare Datei mit +»evim« oder »eview« aufgerufen. \fBVim\fP verhält sich dann wie ein Editor zum +Klicken und Tippen. +.TP +\-Z +Eingeschränkter Modus: Funktioniert, als würde der Name der ausführbaren +Datei mit »r« beginnen. +.TP +\-\- +Markiert das Ende der Optionen. Argumente, die folgen, werden als Dateinamen +behandelt. Dies kann benutzt werden, um einen Dateinamen mit »\-« am Anfang +zu verwenden. +.TP +\-\-echo\-wid +Nur GTK\-GUI: Schreibe die Fenster\-ID auf die Standardausgabe. +.TP +\-\-help +Gibt eine Hilfe\-Nachricht aus und beendet, wie »\-h«. +.TP +\-\-literal +Nimmt die Dateinamen so wie sie sind und vervollständigt sie nicht nach +Metazeichen (*,?). Dies wirkt sich nicht unter Unix aus, wo die Shell die +Metazeichen expandiert. +.TP +\-\-noplugin +Lade keine Plugins. Impliziert durch »\-u NONE«. +.TP +\-\-remote +Verbindet mit einem Vim\-Server und lässt ihn die in den restlichen +Argumenten angegeben Dateien editieren. Wenn kein Server gefunden wird, +führt dies zu einer Warnmeldung und die Dateien werden im gegenwärtigen Vim +zum Bearbeiten geöffnet. +.TP +\-\-remote\-expr {Ausdruck} +Verbindet mit einem Vim\-Server, führt {Ausdruck} aus und zeigt das Ergebnis +auf der Standardausgabe an. +.TP +\-\-remote\-send {Zeichen} +Verbindet mit einem Vim\-Server und sendet ihm {Zeichen}. +.TP +\-\-remote\-silent +Wie »\-\-remote«, aber ohne Warnung, wenn kein Server gefunden wird. +.TP +\-\-remote\-wait +Wie »\-\-remote«, aber Vim beendet sich nicht, bis die Dateien bearbeitet +wurden. +.TP +\-\-remote\-wait\-silent +Wie »\-\-remote\-wait«, aber ohne Warnung, wenn kein Server gefunden wird. +.TP +\-\-serverlist +Listet die Namen aller gefundenen Vim\-Server auf. +.TP +\-\-servername {Name} +Benutzt {Name} als Server\-Namen. Wird für den gegenwärtigen Vim benutzt, +außer es wird mit dem Argument »\-\-remote« benutzt, dann ist es der Name des +zu kontaktierenden Servers. +.TP +\-\-socketid {id} +Nur GTK\-GUI: Benutzt den GtkPlug\-Mechanismus, um GVim in einem anderen +Fenster laufen zu lassen. +.TP +\-\-version +Versionsinformation anzeigen und beenden +.SH "EINGEBAUTE HILFE" +Tippen Sie in \fBVim\fP »:help«, um zu beginnen. Geben Sie ":help begriff« ein, +um Hilfe über ein bestimmtes Thema zu bekommen. Zum Beispiel »:help ZZ« für +Hilfe über den Befehl »ZZ«. Benutzen Sie und CTRL\-D, um +Begriffe zu vervollständigen (»:help cmdline\-completion«). Tags sind +vorhanden, um von einem Ort zum anderen zu springen (eine Art +Hypertext\-Verknüpfungen, siehe »:help«). Auf diese Weise können alle +Dokumentations\-Dateien aufgerufen werden, zum Beispiel »:help syntax.txt«. +.SH DATEIEN +.TP 15 +/usr/local/lib/vim/doc/*.txt +Dokumentations\-Dateien für \fBVim\fP. Verwenden Sie »:help doc\-file\-list«, um +die gesamte Liste zu bekommen. +.TP +/usr/local/lib/vim/doc/tags +Die »Tag«\-Datei, die verwendet wird, um Informationen in der Dokumentation +zu finden. +.TP +/usr/local/lib/vim/syntax/syntax.vim +Die systemweite Einrichtung der Syntaxhervorhebung. +.TP +/usr/local/lib/vim/syntax/*.vim +Syntaxdateien für die verschiedenen Sprachen. +.TP +/usr/local/lib/vim/vimrc +Systemweite Einstellungsdatei für \fBVim\fP +.TP +~/.vimrc +Persönliche Einstellungsdatei für \fBVim\fP +.TP +/usr/local/lib/vim/gvimrc +Systemweite Einstellungsdatei für GVim +.TP +~/.gvimrc +Persönliche Einstellungsdatei für GVim +.TP +/usr/local/lib/vim/optwin.vim +Das Script, das von dem Befehl »:options« verwendet wird, eine schöne +Möglichkeit, um Optionen zu betrachten und zu setzen. +.TP +/usr/local/lib/vim/menu.vim +Systemweite Einstellungsdatei für das Menü von GVim +.TP +/usr/local/lib/vim/bugreport.vim +Das Script zum Generieren eines Fehlerberichts. Siehe »:help bugs«. +.TP +/usr/local/lib/vim/filetype.vim +Mit diesem Script erkennt Vim den Typ einer Datei anhand ihres +Dateinamens. Siehe »:help 'filetype'«. +.TP +/usr/local/lib/vim/scripts.vim +Mit diesem Script erkennt Vim den Typ einer Datei anhand ihres +Inhaltes. Siehe »:help 'filetype'«. +.TP +/usr/local/lib/vim/print/*.ps +Diese Dateien werden zum Drucken von PostScript verwendet. +.PP +Für die neuesten Informationen lesen Sie die Vim\-Homepage: +.br + +.SH "SIEHE AUCH" +vimtutor(1) +.SH AUTOR +\fBVim\fP wurde größtenteils von Bram Moolenaar erstellt, mit viel Hilfe von +anderen Leuten. Siehe »:help credits« in \fBVim.\fP +.br +\fBVim\fP basiert auf Stevie, der von Tim Thompson, Tony Andrews und +G.R. (Fred) Walter geschrieben wurde. Es ist jedoch kaum etwas vom +ursprünglichen Code übrig geblieben. +.SH FEHLER +Die sind möglich. Siehe »:help todo« für eine Liste bekannter Probleme. +.PP +Beachten Sie, dass gewisse Dinge, die manche Leute als Fehler betrachten +mögen, in Wirklichkeit durch zu getreue Nachbildung des Vi\-Verhaltens +verursacht werden. Und falls Sie denken, dass andere Dinge Fehler sind, +»weil Vi es anders tut«, sollten Sie einen genaueren Blick auf die Datei +vi_diff.txt werfen (oder in Vim »:help vi_diff.txt« tippen). Sehen Sie sich +auch die Optionen 'compatible' und 'cpoptions' an. diff --git a/runtime/doc/vim-de.UTF-8.1 b/runtime/doc/vim-de.UTF-8.1 new file mode 100644 index 0000000000..f79e622a74 --- /dev/null +++ b/runtime/doc/vim-de.UTF-8.1 @@ -0,0 +1,478 @@ +.\"******************************************************************* +.\" +.\" This file was generated with po4a. Translate the source file. +.\" +.\"******************************************************************* +.\" Translated by bw1 (2008) and Florian Rehnisch (2012) +.\" Kudos to the folks on vim-dev and debian-l10n-german +.TH VIM 1 "2006 Apr 11" +.SH BEZEICHNUNG +vim \- Vi IMproved, ein Text\-Editor für Programmierer +.SH ÃœBERSICHT +.br +\fBvim\fP [Optionen] [Datei …] +.br +\fBvim\fP [Optionen] \- +.br +\fBvim\fP [Optionen] \-t Tag +.br +\fBvim\fP [Optionen] \-q [Fehlerdatei] +.PP +.br +\fBex\fP +.br +\fBview\fP +.br +\fBgvim\fP \fBgview\fP \fBevim\fP \fBeview\fP +.br +\fBrvim\fP \fBrview\fP \fBrgvim\fP \fBrgview\fP +.SH BESCHREIBUNG +\fBVim\fP ist ein Text\-Editor, der aufwärtskompatibel zu Vi ist. Er kann +verwendet werden, um alle Arten von Klartext zu bearbeiten. Er ist besonders +nützlich, um Programme zu bearbeiten. +.PP +Vim hat einige Erweiterungen gegenüber Vi, z.B.: Rückgängigmachen in +mehreren Schritten, mehrere Fenster und Puffer, Syntax\-Hervorhebung, +Bearbeiten der Befehlszeile, Dateinamenergänzung, eingebaute Hilfe, visuelle +Auswahl, usw. … Siehe »:help vi_diff.txt« für eine Ãœbersicht der +Unterschiede zwischen \fBVim\fP und Vi. +.PP +Im laufenden \fBVim\fP kann mit dem Befehl »:help« viel Hilfe durch das +eingebaute Hilfesystem erlangt werden. Siehe den Abschnitt EINGEBAUTE HILFE +weiter unten. +.PP +Meistens wird \fBVim\fP zum Editieren einer einzigen Datei mit dem folgende +Befehl gestartet: +.PP + vim Datei +.PP +Allgemeiner betrachtet, wird \fBVim\fP folgendermaßen gestartet: +.PP + vim [Optionen] [Dateiliste] +.PP +Bei einer fehlenden Dateiliste startet der Editor mit einem leeren +Puffer. Andernfalls werden nach den folgenden vier Möglichkeiten eine oder +mehrere Dateien bearbeitet: +.TP 12 +Datei … +Eine Liste von Dateinamen. Die erste Datei wird in den Puffer geladen und +zur aktuellen. Der Cursor wird auf der ersten Zeile des Puffers +platziert. Zu den anderen Dateien kann mit dem Befehl »:next« gelangt +werden. Falls einer der Dateinamen mit einem Bindestrich beginnt, stellen +Sie der Dateiliste »\-\-« voran. +.TP +\- +Die zu bearbeitende Datei wird von der Standardeingabe gelesen. Befehle +werden von der Standardfehlerausgabe gelesen, die ein Text\-Terminal sein +sollte. +.TP +\-t {Tag} +Die zu editierende Datei und die anfängliche Cursor\-Position hängen von +einem »Tag« ab, einer Art Sprungmarke. {Tag} wird in der Tag\-Datei +nachgeschlagen, die zugehörige Datei wird zur aktuellen und der zugehörige +Befehl wird ausgeführt. Dies wird meistens für Programme in der Sprache »C« +benutzt, wobei {Tag} ein Funktionsname sein könnte. Die Wirkung dieses +Befehls ist, dass die Datei, die die Funktion enthält, als aktuelle im +Editor geöffnet und angezeigt wird und der Cursor auf dem Beginn der +Funktion positioniert wird. Siehe »:help tag\-commands«. +.TP +\-q [Fehlerdatei] +Startet im QuickFix\-Modus. Die Datei [Fehlerdatei] wird gelesen und der +erste Fehler wird angezeigt. Falls [Fehlerdatei] ausgelassen wird, wird der +Dateiname aus der Option 'errorfile' verwendet (bei AmigaOS ist dies +vorgabemäßig »AztecC.Err«, sowie „errors.err« bei anderen). Weitere Fehler +können mit dem »:cn«\-Befehl angesprungen werden. Siehe „:help quickfix«. +.PP +\fBVim\fP reagiert unterschiedlich auf den Namen, der verwendet wird, um Vim zu +starten (die ausführbare Datei kann dieselbe sein). +.TP 10 +vim +der »normale« Weg, alles ist standardmäßig +.TP +ex +Startet im Ex\-Modus. Mit dem Befehl »:vi« gelangt man in den normalen +Modus. Funktioniert auch mit dem Argument »\-e«. +.TP +view +Startet im Nur\-Lesen\-Modus. Die Datei wird vor dem Ãœberschreiben +geschützt. Dasselbe wird mit dem Parameter »\-R« erreicht. +.TP +gvim gview +Die grafische Version: Öffnet ein neues Fenster. Dasselbe wird mit dem +Parameter »\-g« erreicht. +.TP +evim eview +Die grafische Version im einfachen Modus: Öffnet ein neues Fenster. Dasselbe +wird mit dem Parameter »\-y« erreicht. +.TP +rvim rview rgvim rgview +Wie die obigen, aber mit Beschränkungen: Es ist nicht möglich, Shell\-Befehle +aufzurufen oder mit Unterbrechung in eine Shell zurückzuspringen. Dasselbe +wird mit dem Parameter »\-Z« erreicht. +.SH OPTIONEN +Die Optionen können in beliebiger Reihenfolge vor oder nach den Dateinamen +angegeben werden. Optionen ohne Parameter können hinter einem einzigen +Bindestrich gruppiert werden. +.TP 12 ++[Nummer] +In der ersten Datei wird der Cursor auf die Zeile [Nummer] gesetzt. Falls +[Nummer] nicht angegeben wird, wird der Cursor in die letzte Zeile der Datei +gesetzt. +.TP ++/{Suchmuster} +In der ersten Datei wird der Cursor auf das erste Auftreten von {Suchmuster} +gesetzt. Siehe »:help search\-pattern«. +.TP ++{Befehl} +.TP +\-c {Befehl} +{Befehl} wird nach dem Lesen der ersten Datei ausgeführt. Als {Befehl} wird +ein Ex\-Befehl erwartet. Sind in {Befehl} Leerzeichen vorhanden, muss alles +in Anführungszeichen gesetzt werden (hängt von der verwendeten Shell +ab). Beispiel: vim "+set si" main.c +.br +Anmerkung: Sie können bis zu 10 »+«\- oder „\-c«\-Befehle verwenden. +.TP +\-S {Datei} +{Datei} wird nach dem Lesen der ersten Datei ausgeführt. Dies entspricht »\-c +"source {Datei}"«. {Datei} darf nicht mit einem Bindestrich (\-) +anfangen. Wenn kein Dateiname angegeben wird, wird »Session.vim« verwendet +(Funktioniert nur, wenn »\-S« als letzter Parameter steht). +.TP +\-\-cmd {Befehl} +Wie »\-c«, aber dieser Befehl wird vor allen VimRC\-Dateien ausgeführt. Sie +können unabhängig von den »\-c«\-Befehlen bis zu 10 dieser Befehle verwenden. +.TP +\-A +Falls \fBVim\fP mit Unterstützung für das Schreiben von rechts nach links und +arabischer Tastaturbelegung compiliert wurde (ARABIC), startet dieser +Parameter den Modus fürs Arabische (:set arabic). Anderenfalls beendet sich +\fBVim\fP mit einer Fehlermeldung. +.TP +b +Binärer Modus: Es werden einige Variablen gesetzt, sodass es möglich ist, +eine binäre oder ausführbare Datei zu bearbeiten. +.TP +\-C +Kompatibel: Setzt die Option 'compatible'. Das macht \fBVim\fP im Verhalten +sehr ähnlich zu Vi, selbst wenn eine VimRC\-Datei existiert. +.TP +\-d +Startet im diff\-Modus. Es sollten zwei, drei oder vier Dateinamen als +Parameter übergeben werden. \fBVim\fP öffnet sie alle und zeigt die +Unterschiede an. Arbeitet wie vimdiff(1). +.TP +\-d {Gerät} +Öffnet das {Gerät}, um es als Terminal zu nutzen. Nur für AmigaOS. Beispiel: +"\-d con:20/30/600/150". +.TP +D +Debug\-Modus: \fBVim\fP geht in den Debug\-Modus, wenn der erste Befehl in einem +Skript ausgeführt wird. +.TP +\-e +Startet \fBVim\fP im Ex\-Modus, als würde als ausführbare Datei »ex« aufgerufen. +.TP +\-E +Startet \fBVim\fP im erweiterten Ex\-Modus, als würde die ausführbare Datei als +»exim« aufgerufen. +.TP +\-f +Vordergrund: Bei der GUI\-Version erzeugt \fBVim\fP keinen neuen Prozess und +löst sich nicht von der Shell, in der er aufgerufen wurde. Bei AmigaOS wird +kein neues Fenster geöffnet. Dieser Parameter wird benutzt, damit das +aufrufende Programm auf das Beenden des Bearbeitungssitzung wartet (z.B.: +mail). Bei AmigaOS funktionieren die Befehle »:sh« und „:!« nicht. +.TP +\-\-nofork +Vordergrund: Bei der GUI\-Version erzeugt \fBVim\fP keinen neuen Prozess und +löst sich nicht von der Shell, in der er aufgerufen wurde. +.TP +\-F +Wenn \fBVim\fP mit FKMAP\-Unterstützung für das Schreiben von rechts nach links +und Farsi\-Tastatur\-Belegung kompiliert wurde, startet Vim im Farsi\-Modus, +d.h. die Optionen 'fkmap' und 'rightleft' werden gesetzt. Andernfalls bricht +\fBVim\fP mit einer Fehlermeldung ab. +.TP +\-g +Falls \fBVim\fP mit GUI\-Unterstützung kompiliert wurde, wird die GUI +aktiviert. Falls keine GUI\-Unterstützung einkompiliert wurde, wird mit einer +Fehlermeldung abgebrochen. +.TP +\-h +Gibt eine kleine Hilfe für die Befehlszeilenparameter aus. Danach beendet +sich \fBVim.\fP +.TP +\-H +Hebräisch\-Modus, falls \fBVim\fP mit RIGHTLEFT\-Unterstützung für das Schreiben +von rechts nach links und hebräischer Tastaturbelegung kompiliert wurde, +werden die Optionen 'hkmap' und 'rightleft' gesetzt. Andernfalls beendet +sich \fBVim\fP mit einer Fehlermeldung. +.TP +\-i {VimInfo} +Wenn eine VimInfo\-Datei verwendet wird: Verwendet statt »~/.viminfo« die +angegebene Datei. Es ist auch möglich die Verwendung einer VimInfo\-Datei +durch Angabe des Dateinamen »NONE« zu verhindern, +.TP +\-L +dasselbe wie »\-r« +.TP +\-l +Lisp\-Modus. Aktiviert die Optionen 'lisp' und 'showmatch'. +.TP +\-m +Deaktiviert das Verändern von Dateien, indem die Option 'write' gelöscht +wird. Der Puffer kann verändert werden, nur das Schreiben einer Datei ist +nicht möglich. +.TP +\-M +Keine Veränderungen erlaubt: Die Optionen 'modifiable' und 'write' werden +gelöscht, so dass Änderungen nicht erlaubt sind und Dateien nicht +geschrieben werden können. Man beachte, dass diese Optionen ('modifiable', +\&'write') dennnoch nachträglich zum Erlauben von Änderungen gesetzt werden +können. +.TP +\-N +Nicht\-kompatibler Modus: Löscht die Option 'compatible'. Dies veranlasst +\fBVim\fP, sich ein wenig besser, aber weniger Vi\-kompatibel zu verhalten, +selbst wenn es keine VimRC\-Datei gibt. +.TP +\-n +Verwendet keine Auslagerungsdatei: Eine Wiederherstellung nach einem Absturz +ist nicht möglich. Auf einem langsamen Medium (Diskette) kann diese +Einstellung nützlich sein. Kann auch mit »set uc=0« erreicht werden; kann +mit »set uc=200« aufgehoben werden. +.TP +\-nb +\fBVim\fP fungiert als Server für NetBeans. Details siehe Dokumentation. +.TP +\-o[N] +Öffnet [N] Fenster übereinander. Wenn keine Zahl angegeben wird, öffne ein +Fenster pro Datei. +.TP +\-O[N] +Öffnet [N] Fenster nebeneinander. Wenn keine Zahl angegeben wird, öffne ein +Fenster pro Datei. +.TP +\-p[N] +Öffnet [N] Reiterseiten. Wenn keine Zahl angegeben wird, öffne eine +Reiterseite pro Datei. +.TP +\-R +Nur\-Lesen\-Modus: Die Option 'readonly' wird gesetzt. Der Puffer kann noch +bearbeitet werden, aber es wird verhindert, eine Datei aus Versehen zu +überschreiben. Wenn Sie wirklich eine Datei überschreiben wollen, fügen Sie +dem Ex\-Befehl ein Ausrufezeichen hinzu (wie in »:w!«). Die Option „\-R« +bedingt die Option »\-n« (siehe oben). Die Option 'readonly' kann durch „:set +noro« gelöscht werden. Siehe »:help 'readonly'«. +.TP +\-r +Listet die Auslagerungsdateien und gibt Informationen zu ihrer +Verwendbarkeit zur Wiederherstellung. +.TP +\-r {Datei} +Wiederherstellungsmodus: Die Auslagerungsdatei wird zur Wiederherstellung +verwendet und hat denselben Dateinamen wie die Text\-Datei + ».swp«. Siehe +„:help recovery«. +.TP +\-s +Der stille Modus: Nur wenn die ausführbare Datei als »ex« aufgerufen wird +oder vor »\-s« die Option „\-e« gegeben wird. +.TP +\-s {Eingabeskript} +Die Datei {Eingabeskript} wird gelesen und ausgeführt, als würden Sie die +Zeichen in ihr tippen. Dasselbe kann mit dem Befehl »:source! +{Eingabeskript}« erreicht werden. Wird das Ende der Datei vor dem Beenden +des Editors erreicht, werden weitere Zeichen von der Tastatur gelesen. +.TP +\-T {Terminal} +Setzt den Namen des benutzten Terminals. Nur erforderlich, wenn die +Automatik nicht funktioniert. Sollte ein \fBVim\fP bekanntes Terminal sein: +(builtin) oder in einer termcap\- oder terminfo\-Datei definiert. +.TP +\-u {VimRC} +Verwendet zur Initialisierung die Befehle in der Datei {VimRC}. Alle anderen +Initialisierungen werden übersprungen. Benutzen Sie dies, um eine besondere +Art von Dateien zu bearbeiten. Dies kann auch benutzt werden, um alle +Initialisierungen zu überspringen, indem der Name »NONE« angegeben wird. Für +weitere Einzelheiten siehe »:help initialisation« innerhalb von Vim. +.TP +\-U {GvimRC} +Benutzt die Befehle in der Datei {GvimRC} für die Initialisierung der +grafischen Oberfläche. Alle anderen Initialisierungen werden +übersprungen. Dies kann ebenfalls benutzt werden, um alle +GUI\-Initialisierungen zu überspringen, indem der Name »NONE« angegeben +wird. Siehe »:help gui\-init« innerhalb von Vim für weitere Einzelheiten. +.TP +\-V[N] +Ausführlich (verbose): Gibt Meldungen darüber, welche Befehlsdateien +eingelesen werden, und über das Lesen und Schreiben einer VimInfo\-Datei. Die +optionale Zahl N ist der Wert für 'verbose'. Vorgabe ist 10. +.TP +\-v +Startet \fBVim\fP im Vi\-Modus, so als würde die ausführbare Datei mit »vi« +aufgerufen. Dies wirkt sich nur aus, wenn die ausführbare Datei als »ex« +aufgerufen wird. +.TP +\-w {Ausgabeskript} +Alle Zeichen, die eingetippt werden, werden in der Datei {Ausgabeskript} +aufgezeichnet, solange bis Sie \fBVim\fP beenden. Dies ist nützlich, falls Sie +eine Skript\-Datei zum Benutzen mit »vim \-s« oder „:source!« erzeugen +wollen. Falls die Datei {Ausgabeskript} vorhanden ist, werden die Zeichen +angehängt. +.TP +\-W {Ausgabeskript} +Wie \-w, aber eine bereits vorhandene Datei wird überschrieben. +.TP +\-x +Benutzt beim Schreiben von Dateien eine Verschlüsselung. Fragt nach dem +Schlüssel. +.TP +\-X +Führt keine Verbindung zum X\-Server durch. Dadurch verkürzt sich die +Startzeit, aber der Fenstertitel und die Zwischenablage werden nicht +verwendet. +.TP +\-y +Startet \fBVim\fP im einfachen Modus, als würde die ausführbare Datei mit +»evim« oder »eview« aufgerufen. \fBVim\fP verhält sich dann wie ein Editor zum +Klicken und Tippen. +.TP +\-Z +Eingeschränkter Modus: Funktioniert, als würde der Name der ausführbaren +Datei mit »r« beginnen. +.TP +\-\- +Markiert das Ende der Optionen. Argumente, die folgen, werden als Dateinamen +behandelt. Dies kann benutzt werden, um einen Dateinamen mit »\-« am Anfang +zu verwenden. +.TP +\-\-echo\-wid +Nur GTK\-GUI: Schreibe die Fenster\-ID auf die Standardausgabe. +.TP +\-\-help +Gibt eine Hilfe\-Nachricht aus und beendet, wie »\-h«. +.TP +\-\-literal +Nimmt die Dateinamen so wie sie sind und vervollständigt sie nicht nach +Metazeichen (*,?). Dies wirkt sich nicht unter Unix aus, wo die Shell die +Metazeichen expandiert. +.TP +\-\-noplugin +Lade keine Plugins. Impliziert durch »\-u NONE«. +.TP +\-\-remote +Verbindet mit einem Vim\-Server und lässt ihn die in den restlichen +Argumenten angegeben Dateien editieren. Wenn kein Server gefunden wird, +führt dies zu einer Warnmeldung und die Dateien werden im gegenwärtigen Vim +zum Bearbeiten geöffnet. +.TP +\-\-remote\-expr {Ausdruck} +Verbindet mit einem Vim\-Server, führt {Ausdruck} aus und zeigt das Ergebnis +auf der Standardausgabe an. +.TP +\-\-remote\-send {Zeichen} +Verbindet mit einem Vim\-Server und sendet ihm {Zeichen}. +.TP +\-\-remote\-silent +Wie »\-\-remote«, aber ohne Warnung, wenn kein Server gefunden wird. +.TP +\-\-remote\-wait +Wie »\-\-remote«, aber Vim beendet sich nicht, bis die Dateien bearbeitet +wurden. +.TP +\-\-remote\-wait\-silent +Wie »\-\-remote\-wait«, aber ohne Warnung, wenn kein Server gefunden wird. +.TP +\-\-serverlist +Listet die Namen aller gefundenen Vim\-Server auf. +.TP +\-\-servername {Name} +Benutzt {Name} als Server\-Namen. Wird für den gegenwärtigen Vim benutzt, +außer es wird mit dem Argument »\-\-remote« benutzt, dann ist es der Name des +zu kontaktierenden Servers. +.TP +\-\-socketid {id} +Nur GTK\-GUI: Benutzt den GtkPlug\-Mechanismus, um GVim in einem anderen +Fenster laufen zu lassen. +.TP +\-\-version +Versionsinformation anzeigen und beenden +.SH "EINGEBAUTE HILFE" +Tippen Sie in \fBVim\fP »:help«, um zu beginnen. Geben Sie „:help begriff« ein, +um Hilfe über ein bestimmtes Thema zu bekommen. Zum Beispiel »:help ZZ« für +Hilfe über den Befehl »ZZ«. Benutzen Sie und CTRL\-D, um +Begriffe zu vervollständigen (»:help cmdline\-completion«). Tags sind +vorhanden, um von einem Ort zum anderen zu springen (eine Art +Hypertext\-Verknüpfungen, siehe »:help«). Auf diese Weise können alle +Dokumentations\-Dateien aufgerufen werden, zum Beispiel »:help syntax.txt«. +.SH DATEIEN +.TP 15 +/usr/local/lib/vim/doc/*.txt +Dokumentations\-Dateien für \fBVim\fP. Verwenden Sie »:help doc\-file\-list«, um +die gesamte Liste zu bekommen. +.TP +/usr/local/lib/vim/doc/tags +Die »Tag«\-Datei, die verwendet wird, um Informationen in der Dokumentation +zu finden. +.TP +/usr/local/lib/vim/syntax/syntax.vim +Die systemweite Einrichtung der Syntaxhervorhebung. +.TP +/usr/local/lib/vim/syntax/*.vim +Syntaxdateien für die verschiedenen Sprachen. +.TP +/usr/local/lib/vim/vimrc +Systemweite Einstellungsdatei für \fBVim\fP +.TP +~/.vimrc +Persönliche Einstellungsdatei für \fBVim\fP +.TP +/usr/local/lib/vim/gvimrc +Systemweite Einstellungsdatei für GVim +.TP +~/.gvimrc +Persönliche Einstellungsdatei für GVim +.TP +/usr/local/lib/vim/optwin.vim +Das Script, das von dem Befehl »:options« verwendet wird, eine schöne +Möglichkeit, um Optionen zu betrachten und zu setzen. +.TP +/usr/local/lib/vim/menu.vim +Systemweite Einstellungsdatei für das Menü von GVim +.TP +/usr/local/lib/vim/bugreport.vim +Das Script zum Generieren eines Fehlerberichts. Siehe »:help bugs«. +.TP +/usr/local/lib/vim/filetype.vim +Mit diesem Script erkennt Vim den Typ einer Datei anhand ihres +Dateinamens. Siehe »:help 'filetype'«. +.TP +/usr/local/lib/vim/scripts.vim +Mit diesem Script erkennt Vim den Typ einer Datei anhand ihres +Inhaltes. Siehe »:help 'filetype'«. +.TP +/usr/local/lib/vim/print/*.ps +Diese Dateien werden zum Drucken von PostScript verwendet. +.PP +Für die neuesten Informationen lesen Sie die Vim\-Homepage: +.br + +.SH "SIEHE AUCH" +vimtutor(1) +.SH AUTOR +\fBVim\fP wurde größtenteils von Bram Moolenaar erstellt, mit viel Hilfe von +anderen Leuten. Siehe »:help credits« in \fBVim.\fP +.br +\fBVim\fP basiert auf Stevie, der von Tim Thompson, Tony Andrews und +G.R. (Fred) Walter geschrieben wurde. Es ist jedoch kaum etwas vom +ursprünglichen Code übrig geblieben. +.SH FEHLER +Die sind möglich. Siehe »:help todo« für eine Liste bekannter Probleme. +.PP +Beachten Sie, dass gewisse Dinge, die manche Leute als Fehler betrachten +mögen, in Wirklichkeit durch zu getreue Nachbildung des Vi\-Verhaltens +verursacht werden. Und falls Sie denken, dass andere Dinge Fehler sind, +»weil Vi es anders tut«, sollten Sie einen genaueren Blick auf die Datei +vi_diff.txt werfen (oder in Vim »:help vi_diff.txt« tippen). Sehen Sie sich +auch die Optionen 'compatible' und 'cpoptions' an. diff --git a/runtime/doc/visual.txt b/runtime/doc/visual.txt index 8c50a2900e..4457aeb018 100644 --- a/runtime/doc/visual.txt +++ b/runtime/doc/visual.txt @@ -1,4 +1,4 @@ -*visual.txt* For Vim version 7.3. Last change: 2010 Feb 17 +*visual.txt* For Vim version 7.3. Last change: 2012 Jun 14 VIM REFERENCE MANUAL by Bram Moolenaar @@ -61,15 +61,20 @@ position. 2. Starting and stopping Visual mode *visual-start* *v* *characterwise-visual* -v start Visual mode per character. +[count]v Start Visual mode per character. + With [count] select that many characters, like moving + the cursor right [count] characters. One less when + 'selection' is not "exclusive". *V* *linewise-visual* -V start Visual mode linewise. +[count]V Start Visual mode linewise. + With [count] select that many lines. *CTRL-V* *blockwise-visual* -CTRL-V start Visual mode blockwise. Note: Under Windows +[count]CTRL-V Start Visual mode blockwise. Note: Under Windows CTRL-V could be mapped to paste text, it doesn't work to start Visual mode then, see |CTRL-V-alternative|. + [count] is used as with `v` above. If you use , click the left mouse button or use any command that does a jump to another buffer while in Visual mode, the highlighting stops @@ -269,7 +274,10 @@ with {motion}, which is only ONE movement command. Another way to operate on the Visual area is using the |/\%V| item in a pattern. For example, to replace all '(' in the Visual area with '#': > - :%s/\%V(/X/g + :'<,'>s/\%V(/#/g + +Note that the "'<,'>" will appear automatically when you press ":" in Visual +mode. ============================================================================== 5. Blockwise operators *blockwise-operators* diff --git a/runtime/filetype.vim b/runtime/filetype.vim index 6dae50f6f1..678ce81977 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -1,7 +1,7 @@ " Vim support file to detect file types " " Maintainer: Bram Moolenaar -" Last Change: 2012 May 18 +" Last Change: 2012 Jun 20 " Listen very carefully, I will say this only once if exists("did_load_filetypes") @@ -1200,7 +1200,7 @@ au BufNewFile,BufRead *.mysql setf mysql au BufNewFile,BufRead */etc/Muttrc.d/* call s:StarSetf('muttrc') " M$ Resource files -au BufNewFile,BufRead *.rc setf rc +au BufNewFile,BufRead *.rc,*.rch setf rc " MuPAD source au BufRead,BufNewFile *.mu setf mupad diff --git a/runtime/ftplugin/c.vim b/runtime/ftplugin/c.vim index 7d6c298595..19e8c51edb 100644 --- a/runtime/ftplugin/c.vim +++ b/runtime/ftplugin/c.vim @@ -1,7 +1,7 @@ " Vim filetype plugin file " Language: C " Maintainer: Bram Moolenaar -" Last Change: 2011 Aug 04 +" Last Change: 2012 Jul 10 " Only do this when not done yet for this buffer if exists("b:did_ftplugin") @@ -40,7 +40,7 @@ let b:match_words = &matchpairs . ',^\s*#\s*if\(\|def\|ndef\)\>:^\s*#\s*elif\>:^ let b:match_skip = 's:comment\|string\|character' " Win32 can filter files in the browse dialog -if has("gui_win32") && !exists("b:browsefilter") +if (has("gui_win32") || has("gui_gtk")) && !exists("b:browsefilter") if &ft == "cpp" let b:browsefilter = "C++ Source Files (*.cpp *.c++)\t*.cpp;*.c++\n" . \ "C Header Files (*.h)\t*.h\n" . diff --git a/runtime/indent/css.vim b/runtime/indent/css.vim index f85bb05acb..f0a272eff9 100644 --- a/runtime/indent/css.vim +++ b/runtime/indent/css.vim @@ -1,7 +1,7 @@ " Vim indent file " Language: CSS " Maintainer: Nikolai Weibull -" Latest Revision: 2010-12-22 +" Latest Revision: 2012-05-30 if exists("b:did_indent") finish @@ -12,6 +12,8 @@ setlocal indentexpr=GetCSSIndent() setlocal indentkeys=0{,0},!^F,o,O setlocal nosmartindent +let b:undo_indent = "setl smartindent< indentkeys< indentexpr<" + if exists("*GetCSSIndent") finish endif diff --git a/runtime/indent/eiffel.vim b/runtime/indent/eiffel.vim index 472665275b..87e82e833d 100644 --- a/runtime/indent/eiffel.vim +++ b/runtime/indent/eiffel.vim @@ -1,11 +1,11 @@ " Vim indent file " Language: Eiffel -" Maintainer: Jocelyn Fiat +" Maintainer: Jocelyn Fiat " Previous-Maintainer: David Clarke +" Contributions from: Thilo Six " $Date: 2004/12/09 21:33:52 $ " $Revision: 1.3 $ -" URL: http://www.djoce.net/page/vim/ -" Last Change: 2012 May 18 +" URL: https://github.com/eiffelhub/vim-eiffel " Only load this indent file when no other was loaded. if exists("b:did_indent") @@ -23,6 +23,8 @@ setlocal indentkeys+==end,=else,=ensure,=require,=check,=loop,=until setlocal indentkeys+==creation,=feature,=inherit,=class,=is,=redefine,=rename,=variant setlocal indentkeys+==invariant,=do,=local,=export +let b:undo_indent = "setl smartindent< indentkeys< indentexpr< autoindent< comments< " + " Define some stuff " keywords grouped by indenting let s:trust_user_indent = '\(+\)\(\s*\(--\).*\)\=$' @@ -37,6 +39,7 @@ let s:inheritance_dent = '\s*\(redefine\|rename\|export\)\>' if exists("*GetEiffelIndent") finish endif + let s:keepcpo= &cpo set cpo&vim diff --git a/runtime/indent/vim.vim b/runtime/indent/vim.vim index 8281d94c09..a17bae1674 100644 --- a/runtime/indent/vim.vim +++ b/runtime/indent/vim.vim @@ -1,7 +1,7 @@ " Vim indent file " Language: Vim script " Maintainer: Bram Moolenaar -" Last Change: 2012 May 18 +" Last Change: 2012 May 20 " Only load this indent file when no other was loaded. if exists("b:did_indent") @@ -12,6 +12,8 @@ let b:did_indent = 1 setlocal indentexpr=GetVimIndent() setlocal indentkeys+==end,=else,=cat,=fina,=END,0\\ +let b:undo_indent = "setl indentkeys< indentexpr<" + " Only define the function once. if exists("*GetVimIndent") finish @@ -54,7 +56,7 @@ function GetVimIndent() if i >= 0 let ind += &sw if strpart(line, i, 1) == '|' && has('syntax_items') - \ && synIDattr(synID(lnum, i, 1), "name") =~ '\(Comment\|String\)$' + \ && synIDattr(synID(lnum, i, 1), "name") =~ '\(Comment\|String\)$' let ind -= &sw endif endif diff --git a/runtime/lang/menu_ja.cp932.vim b/runtime/lang/menu_ja.cp932.vim index c761b0811d..50856d5b02 100644 --- a/runtime/lang/menu_ja.cp932.vim +++ b/runtime/lang/menu_ja.cp932.vim @@ -1,5 +1,8 @@ " Menu Translations: Japanese (for Windows) -" Translated By: MURAOKA Taro -" Last Change: 29-Apr-2004. +" Translated By: MURAOKA Taro +" Last Change: 15-Jun-2012. +" +" Copyright (C) 2004,12 MURAOKA Taro +" THIS FILE IS DISTRIBUTED UNDER THE VIM LICENSE. source :p:h/menu_japanese_japan.932.vim diff --git a/runtime/lang/menu_ja.euc-jp.vim b/runtime/lang/menu_ja.euc-jp.vim index 0861315eb9..0eff4d99c3 100644 --- a/runtime/lang/menu_ja.euc-jp.vim +++ b/runtime/lang/menu_ja.euc-jp.vim @@ -1,6 +1,9 @@ " Menu Translations: Japanese (for UNIX) -" Translated By: Muraoka Taro -" Last Change: 08:50:47 25-Mar-2001. +" Translated By: MURAOKA Taro +" Last Change: 15-Jun-2012. +" +" Copyright (C) 2004,12 MURAOKA Taro +" THIS FILE IS DISTRIBUTED UNDER THE VIM LICENSE. " eucjp is the same as euc-jp. Source the other one from here. source :p:h/menu_ja_jp.euc-jp.vim diff --git a/runtime/lang/menu_ja.eucjp.vim b/runtime/lang/menu_ja.eucjp.vim index 0861315eb9..0eff4d99c3 100644 --- a/runtime/lang/menu_ja.eucjp.vim +++ b/runtime/lang/menu_ja.eucjp.vim @@ -1,6 +1,9 @@ " Menu Translations: Japanese (for UNIX) -" Translated By: Muraoka Taro -" Last Change: 08:50:47 25-Mar-2001. +" Translated By: MURAOKA Taro +" Last Change: 15-Jun-2012. +" +" Copyright (C) 2004,12 MURAOKA Taro +" THIS FILE IS DISTRIBUTED UNDER THE VIM LICENSE. " eucjp is the same as euc-jp. Source the other one from here. source :p:h/menu_ja_jp.euc-jp.vim diff --git a/runtime/lang/menu_ja.ujis.vim b/runtime/lang/menu_ja.ujis.vim index 49248fc74c..e74ff806eb 100644 --- a/runtime/lang/menu_ja.ujis.vim +++ b/runtime/lang/menu_ja.ujis.vim @@ -1,6 +1,9 @@ " Menu Translations: Japanese (for UNIX) -" Translated By: Muraoka Taro -" Last Change: 08:50:47 25-Mar-2001. +" Translated By: MURAOKA Taro +" Last Change: 15-Jun-2012. +" +" Copyright (C) 2004,12 MURAOKA Taro +" THIS FILE IS DISTRIBUTED UNDER THE VIM LICENSE. " ujis is the same as euc-jp. Source the other one from here. source :p:h/menu_ja_jp.euc-jp.vim diff --git a/runtime/lang/menu_ja_jp.cp932.vim b/runtime/lang/menu_ja_jp.cp932.vim index c761b0811d..50856d5b02 100644 --- a/runtime/lang/menu_ja_jp.cp932.vim +++ b/runtime/lang/menu_ja_jp.cp932.vim @@ -1,5 +1,8 @@ " Menu Translations: Japanese (for Windows) -" Translated By: MURAOKA Taro -" Last Change: 29-Apr-2004. +" Translated By: MURAOKA Taro +" Last Change: 15-Jun-2012. +" +" Copyright (C) 2004,12 MURAOKA Taro +" THIS FILE IS DISTRIBUTED UNDER THE VIM LICENSE. source :p:h/menu_japanese_japan.932.vim diff --git a/runtime/lang/menu_ja_jp.euc-jp.vim b/runtime/lang/menu_ja_jp.euc-jp.vim index fcc49d6920..23a00930bc 100644 --- a/runtime/lang/menu_ja_jp.euc-jp.vim +++ b/runtime/lang/menu_ja_jp.euc-jp.vim @@ -2,7 +2,10 @@ " " Menu Translations: Japanese (EUC-JP) " Translated By: MURAOKA Taro -" Last Change: 21-Mar-2011. +" Last Change: 15-Jun-2012. +" +" Copyright (C) 2001-12 MURAOKA Taro +" THIS FILE IS DISTRIBUTED UNDER THE VIM LICENSE. " Quit when menu translations have already been done. if exists("did_menu_trans") diff --git a/runtime/lang/menu_ja_jp.eucjp.vim b/runtime/lang/menu_ja_jp.eucjp.vim index 0861315eb9..0eff4d99c3 100644 --- a/runtime/lang/menu_ja_jp.eucjp.vim +++ b/runtime/lang/menu_ja_jp.eucjp.vim @@ -1,6 +1,9 @@ " Menu Translations: Japanese (for UNIX) -" Translated By: Muraoka Taro -" Last Change: 08:50:47 25-Mar-2001. +" Translated By: MURAOKA Taro +" Last Change: 15-Jun-2012. +" +" Copyright (C) 2004,12 MURAOKA Taro +" THIS FILE IS DISTRIBUTED UNDER THE VIM LICENSE. " eucjp is the same as euc-jp. Source the other one from here. source :p:h/menu_ja_jp.euc-jp.vim diff --git a/runtime/lang/menu_ja_jp.ujis.vim b/runtime/lang/menu_ja_jp.ujis.vim index 49248fc74c..e74ff806eb 100644 --- a/runtime/lang/menu_ja_jp.ujis.vim +++ b/runtime/lang/menu_ja_jp.ujis.vim @@ -1,6 +1,9 @@ " Menu Translations: Japanese (for UNIX) -" Translated By: Muraoka Taro -" Last Change: 08:50:47 25-Mar-2001. +" Translated By: MURAOKA Taro +" Last Change: 15-Jun-2012. +" +" Copyright (C) 2004,12 MURAOKA Taro +" THIS FILE IS DISTRIBUTED UNDER THE VIM LICENSE. " ujis is the same as euc-jp. Source the other one from here. source :p:h/menu_ja_jp.euc-jp.vim diff --git a/runtime/lang/menu_ja_jp.utf-8.vim b/runtime/lang/menu_ja_jp.utf-8.vim index dc52872649..2638c3c1b1 100644 --- a/runtime/lang/menu_ja_jp.utf-8.vim +++ b/runtime/lang/menu_ja_jp.utf-8.vim @@ -2,7 +2,10 @@ " " Menu Translations: Japanese (UTF-8) " Translated By: MURAOKA Taro -" Last Change: 21-Mar-2011. +" Last Change: 15-Jun-2012. +" +" Copyright (C) 2001-12 MURAOKA Taro +" THIS FILE IS DISTRIBUTED UNDER THE VIM LICENSE. " Quit when menu translations have already been done. if exists("did_menu_trans") diff --git a/runtime/lang/menu_japanese_japan.932.vim b/runtime/lang/menu_japanese_japan.932.vim index 05cadd450f..fc030134e5 100644 --- a/runtime/lang/menu_japanese_japan.932.vim +++ b/runtime/lang/menu_japanese_japan.932.vim @@ -2,7 +2,10 @@ " " Menu Translations: Japanese (CP932) " Translated By: MURAOKA Taro -" Last Change: 21-Mar-2011. +" Last Change: 15-Jun-2012. +" +" Copyright (C) 2001-12 MURAOKA Taro +" THIS FILE IS DISTRIBUTED UNDER THE VIM LICENSE. " Quit when menu translations have already been done. if exists("did_menu_trans") diff --git a/runtime/mswin.vim b/runtime/mswin.vim index 1ceef847e9..02edfbc4e3 100644 --- a/runtime/mswin.vim +++ b/runtime/mswin.vim @@ -1,7 +1,7 @@ " Set options and add mapping such that Vim behaves a lot like MS-Windows " " Maintainer: Bram Moolenaar -" Last change: 2006 Apr 02 +" Last change: 2012 Jun 13 " bail out if this isn't wanted (mrsvim.vim uses this). if exists("g:skip_loading_mswin") && g:skip_loading_mswin @@ -42,9 +42,10 @@ cmap + " Visual mode without the +virtualedit feature. They are pasted as if they " were characterwise instead. " Uses the paste.vim autoload script. +" Use CTRL-G u to have CTRL-Z only undo the paste. -exe 'inoremap