From 946e27ab65d6f5d25c449a1bf6aedd808149601f Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 25 Jun 2014 18:50:27 +0200 Subject: Updated runtime files. --- runtime/doc/digraph.txt | 9 +++++++- runtime/doc/eval.txt | 22 +++++++++++++------ runtime/doc/options.txt | 43 +++++++++++++++++++++++++++++++----- runtime/doc/quickref.txt | 4 +++- runtime/doc/starting.txt | 7 ++++-- runtime/doc/tags | 7 ++++++ runtime/doc/todo.txt | 57 +++++++++++++++--------------------------------- 7 files changed, 93 insertions(+), 56 deletions(-) (limited to 'runtime/doc') diff --git a/runtime/doc/digraph.txt b/runtime/doc/digraph.txt index cb9cd48ef..2be73da5b 100644 --- a/runtime/doc/digraph.txt +++ b/runtime/doc/digraph.txt @@ -1,4 +1,4 @@ -*digraph.txt* For Vim version 7.4. Last change: 2014 Apr 17 +*digraph.txt* For Vim version 7.4. Last change: 2014 Jun 19 VIM REFERENCE MANUAL by Bram Moolenaar @@ -170,6 +170,11 @@ used for the currency sign, and latin9 (iso-8859-15), where the digraph =e is used for the euro sign, while both of them are the character 164, 0xa4. For compatibility with zsh Eu can also be used for the euro sign. +ROUBLE + +The rouble sign was added in 2014 as 0x20bd. Vim supports the digraphs =R and +=P for this. Note that R= and P= are other characters. + *digraph-table* char digraph hex dec official name ~ ^@ NU 0x00 0 NULL (NUL) @@ -966,6 +971,8 @@ char digraph hex dec official name ~ ₧ Pt 20A7 8359 PESETA SIGN ₩ W= 20A9 8361 WON SIGN € Eu 20AC 8364 EURO SIGN +₽ =R 20BD 8381 ROUBLE SIGN +₽ =P 20BD 8381 ROUBLE SIGN ℃ oC 2103 8451 DEGREE CELSIUS ℅ co 2105 8453 CARE OF ℉ oF 2109 8457 DEGREE FAHRENHEIT diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index 695ac1f2b..c61ac07f4 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -1,4 +1,4 @@ -*eval.txt* For Vim version 7.4. Last change: 2014 Jun 12 +*eval.txt* For Vim version 7.4. Last change: 2014 Jun 25 VIM REFERENCE MANUAL by Bram Moolenaar @@ -2609,7 +2609,7 @@ cursor({list}) with two, three or four item: [{lnum}, {col}, {off}] [{lnum}, {col}, {off}, {curswant}] - This is like the return value of |getpos()| or |getcurpos|, + This is like the return value of |getpos()| or |getcurpos()|, but without the first item. Does not change the jumplist. @@ -5629,11 +5629,19 @@ sort({list} [, {func} [, {dict}]]) *sort()* *E702* If you want a list to remain unmodified make a copy first: > :let sortedlist = sort(copy(mylist)) -< Uses the string representation of each item to sort on. - Numbers sort after Strings, |Lists| after Numbers. - For sorting text in the current buffer use |:sort|. +< When {func} is omitted, is empty or zero, then sort() uses the + string representation of each item to sort on. Numbers sort + after Strings, |Lists| after Numbers. For sorting text in the + current buffer use |:sort|. + + When {func} is given and it is is '1' or 'i' then case is + ignored. + + When {func} is given and it is 'n' then all items will be + sorted numerical (Implementation detail: This uses the + strtod() function to parse numbers, Strings, Lists, Dicts and + Funcrefs will be considered as being 0). - When {func} is given and it is one then case is ignored. When {func} is a |Funcref| or a function name, this function is called to compare items. The function is invoked with two items as argument and must return zero if they are equal, 1 or @@ -6555,7 +6563,7 @@ xor({expr}, {expr}) *xor()* *feature-list* -There are three types of features: +There are four types of features: 1. Features that are only supported when they have been enabled when Vim was compiled |+feature-list|. Example: > :if has("cindent") diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index 6a2ad89a3..20391406f 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -1,4 +1,4 @@ -*options.txt* For Vim version 7.4. Last change: 2014 May 28 +*options.txt* For Vim version 7.4. Last change: 2014 Jun 25 VIM REFERENCE MANUAL by Bram Moolenaar @@ -1200,6 +1200,38 @@ A jump table for the options with a short description can be found at |Q_op|. break if 'linebreak' is on. Only works for ASCII and also for 8-bit characters when 'encoding' is an 8-bit encoding. + *'breakindent'* *'bri'* +'breakindent' 'bri' boolean (default off) + local to window + {not in Vi} + {not available when compiled without the |+linebreak| + feature} + Every wrapped line will continue visually indented (same amount of + space as the beginning of that line), thus preserving horizontal blocks + of text. + + *'breakindentopt'* *'briopt'* +'breakindentopt' 'briopt' string (default empty) + local to window + {not in Vi} + {not available when compiled without the |+linebreak| + feature} + Settings for 'breakindent'. It can consist of the following optional + items and must be seperated by a comma: + min:{n} Minimum text width that will be kept after + applying 'breakindent', even if the resulting + text should normally be narrower. This prevents + text indented almost to the right window border + occupying lot of vertical space when broken. + shift:{n} After applying 'breakindent', wrapped line + beginning will be shift by given number of + characters. It permits dynamic French paragraph + indentation (negative) or emphasizing the line + continuation (positive). + sbr Display the 'showbreak' value before applying the + additional indent. + The default value for min is 20 and shift is 0. + *'browsedir'* *'bsdir'* 'browsedir' 'bsdir' string (default: "last") global @@ -4575,12 +4607,13 @@ A jump table for the options with a short description can be found at |Q_op|. {not in Vi} {not available when compiled without the |+linebreak| feature} - If on Vim will wrap long lines at a character in 'breakat' rather + If on, Vim will wrap long lines at a character in 'breakat' rather than at the last character that fits on the screen. Unlike 'wrapmargin' and 'textwidth', this does not insert s in the file, - it only affects the way the file is displayed, not its contents. The - value of 'showbreak' is used to put in front of wrapped lines. - This option is not used when the 'wrap' option is off or 'list' is on. + it only affects the way the file is displayed, not its contents. + If 'breakindent' is set, line is visually indented. Then, the value + of 'showbreak' is used to put in front of wrapped lines. This option + is not used when the 'wrap' option is off or 'list' is on. Note that characters after an are mostly not displayed with the right amount of white space. diff --git a/runtime/doc/quickref.txt b/runtime/doc/quickref.txt index 90d359775..79d87fa91 100644 --- a/runtime/doc/quickref.txt +++ b/runtime/doc/quickref.txt @@ -1,4 +1,4 @@ -*quickref.txt* For Vim version 7.4. Last change: 2013 Jun 29 +*quickref.txt* For Vim version 7.4. Last change: 2014 Jun 25 VIM REFERENCE MANUAL by Bram Moolenaar @@ -624,6 +624,8 @@ Short explanation of each option: *option-list* 'bioskey' 'biosk' MS-DOS: use bios calls for input characters 'bomb' prepend a Byte Order Mark to the file 'breakat' 'brk' characters that may cause a line break +'breakindent' 'bri' wrapped line repeats indent +'breakindentopt' 'briopt' settings for 'breakindent' 'browsedir' 'bsdir' which directory to start browsing in 'bufhidden' 'bh' what to do when buffer is no longer in window 'buflisted' 'bl' whether the buffer shows up in the buffer list diff --git a/runtime/doc/starting.txt b/runtime/doc/starting.txt index a5de2f073..14b0bbffa 100644 --- a/runtime/doc/starting.txt +++ b/runtime/doc/starting.txt @@ -1,4 +1,4 @@ -*starting.txt* For Vim version 7.4. Last change: 2014 Mar 29 +*starting.txt* For Vim version 7.4. Last change: 2014 Jun 14 VIM REFERENCE MANUAL by Bram Moolenaar @@ -167,7 +167,10 @@ a slash. Thus "-R" means recovery and "-/R" readonly. *-+/* +/{pat} The cursor will be positioned on the first line containing "pat" in the first file being edited (see |pattern| for the - available search patterns). + available search patterns). The search starts at the cursor + position, which can be the first line or the cursor position + last used from |viminfo|. To force a search from the first + line use "+1 +/pat". +{command} *-+c* *-c* -c {command} {command} will be executed after the first file has been diff --git a/runtime/doc/tags b/runtime/doc/tags index bda3c6df2..f06335008 100644 --- a/runtime/doc/tags +++ b/runtime/doc/tags @@ -91,6 +91,10 @@ $VIMRUNTIME starting.txt /*$VIMRUNTIME* 'bl' options.txt /*'bl'* 'bomb' options.txt /*'bomb'* 'breakat' options.txt /*'breakat'* +'breakindent' options.txt /*'breakindent'* +'breakindentopt' options.txt /*'breakindentopt'* +'bri' options.txt /*'bri'* +'briopt' options.txt /*'briopt'* 'brk' options.txt /*'brk'* 'browsedir' options.txt /*'browsedir'* 'bs' options.txt /*'bs'* @@ -2524,8 +2528,10 @@ $VIMRUNTIME starting.txt /*$VIMRUNTIME* :noh pattern.txt /*:noh* :nohlsearch pattern.txt /*:nohlsearch* :nor map.txt /*:nor* +:nore map.txt /*:nore* :norea map.txt /*:norea* :noreabbrev map.txt /*:noreabbrev* +:norem map.txt /*:norem* :noremap map.txt /*:noremap* :noremap! map.txt /*:noremap!* :noreme gui.txt /*:noreme* @@ -6826,6 +6832,7 @@ match() eval.txt /*match()* match-highlight pattern.txt /*match-highlight* match-parens tips.txt /*match-parens* matchadd() eval.txt /*matchadd()* +matchaddpos() eval.txt /*matchaddpos()* matcharg() eval.txt /*matcharg()* matchdelete() eval.txt /*matchdelete()* matchend() eval.txt /*matchend()* diff --git a/runtime/doc/todo.txt b/runtime/doc/todo.txt index fb203b39f..d0ddf5b46 100644 --- a/runtime/doc/todo.txt +++ b/runtime/doc/todo.txt @@ -1,4 +1,4 @@ -*todo.txt* For Vim version 7.4. Last change: 2014 Jun 12 +*todo.txt* For Vim version 7.4. Last change: 2014 Jun 25 VIM REFERENCE MANUAL by Bram Moolenaar @@ -57,27 +57,18 @@ directory exists. (Sergio Gallelli, 2013 Dec 29) Problem using ":try" inside ":execute". (ZyX, 2013 Sep 15) -Setting 'ttymouse' empty causes Dec mouse to be detected. (Elijah Griffin, -2014 May 13) - Python: ":py raw_input('prompt')" doesn't work. (Manu Hack) Value returned by virtcol() changes depending on how lines wrap. This is inconsistant with the documentation. -Serbian translation of the vimtutor. (Ivan Nejgebauer, 2014 Jun 2) - -Patch to add matchaddpos(), match using a position instead of a pattern. -To be used for matchparen. (Alexey Radkov, 2014 Jun 1) -Waiting for tests. Some on Jun 2. - MS-Windows: Crash opening very long file name starting with "\\". (Christian Brock, 2012 Jun 29) Syntax highlighting slow (hangs) in SASS file. (Niek Bosch, 2013 Aug 21) Patch to translate 0xce in K_NUL 3. (Yasuhiro Matsumoto, 2014 June 6) -Doesn't work yet. +Update by Nobuhiro Takasaki, Jun 19. Adding "~" to 'cdpath' doesn't work for completion? (Davido, 2013 Aug 19) @@ -87,8 +78,6 @@ Jun 8) Syntax file for gnuplot. Existing one is very old. (Andrew Rasmussen, 2014 Feb 24) -Add digraph for Rouble: =P. What's the Unicode? - Issue 174: Detect Mason files. No error for missing endwhile. (ZyX, 2014 Mar 20) @@ -109,6 +98,10 @@ Update from Ken Takata, 2014 Jan 10. Newer 2014 Apr 3. Win32: use 64 bit stat() if possible. (Ken Takata, 2014 May 12) More tests May 14. Update May 29. +The garbage collector may use too much stack. Make set_ref_in_item() +iterative instead of recursive. Test program by Marc Weber (2013 Dec 10) +Patch by Ben Fritz, 2014 Jun 22. + Idea: For a window in the middle (has window above and below it), use right-mouse-drag on the status line to move a window up/down without changing it's height? It's like dragging the status bar above it at the same time. @@ -121,9 +114,6 @@ This does not give an error: (Andre Sihera, 2014 Mar 21) This neither: (ZyX) vim -u NONE 1 2 3 -c 'bufdo while 1 | echo 1' -Patch for signs in GTK. (Christian Brabandt, 2014 Jun 10) -Asked about it. - 'viewdir' default on MS-Windows is not a good choice, it's a system directory. Change 'viewdir' to "$HOME/vimfiles/view" and use 'viewdiralt' to also read from? @@ -133,6 +123,7 @@ Problem with upwards search on Windows (works OK on Linux). (Brett Stahlman, When 'clipboard' is "unnamed", :g/pat/d is very slow. Only set the clipboard after the last delete? (Praful, 2014 May 28) +Patch by Christian Brabandt, 2014 Jun 18. Include a plugin manager with Vim? Neobundle seems to be the best currently. Long message about this from ZyX, 2014 Mar 23. And following replies. @@ -180,6 +171,16 @@ Editing an ascii file as ucs-2 or ucs-4 causes display errors. ":Next 1 some-arg" does not complain about trailing argument. Also for various other commands. (ZyX, 2014 Mar 30) +Patch to add sortuniq(). (Cade Forester, 2014 Mar 19) +Or add uniq() instead? Patch by lcd47, but it has problems. + +Patch to support sorting on floating point number. (Alex Jakushev, 2010 Oct +30) + +Patch to support expression argument to sort() instead of a function name. +Yasuhiro Matsumoto, 2013 May 31. +Or should we add a more general mechanism, like lambda functions? + VMS: Select() doesn't work properly, typing ESC may hang Vim. Use sys$qiow instead. (Samuel Ferencik, 2013 Sep 28) @@ -195,9 +196,6 @@ Patch to make test 100 work on MS-Windows. (Taro Muraoka, 2013 Dec 12) Patch to define macros for hardcoded values. (Elias Diem, 2013 Dec 14) -Patch to add sortuniq(). (Cade Forester, 2014 Mar 19) -Or add uniq() instead? Patch by lcd47, but it has problems. - Perl: support for Activestate perl 5.18: Issue 170. Several syntax file match "^\s*" which may get underlined if that's in the @@ -300,19 +298,12 @@ Works OK for echo, just not for ":call" and ":call call()". (Ted, 2011 Mar Patch by Christian Brabandt, 2013 Mar 23. Not 100% sure this is the right solution. -Patch to support expression argument to sort() instead of a function name. -Yasuhiro Matsumoto, 2013 May 31. -Or should we add a more general mechanism, like lambda functions? - Problem caused by patch 7.3.638: window->open does not update window correctly. Issue 91. Patch to add {lhs} to :mapclear: clear all maps starting with {lhs}. (Christian Brabandt, 2013 Dec 9) -The garbage collector may use too much stack. Make set_ref_in_item() -iterative instead of recursive. Test program by Marc Weber (2013 Dec 10) - Exception caused by argument of return is not caught by try/catch. (David Barnett, 2013 Nov 19) @@ -323,17 +314,6 @@ Issue 28. Patch to fix that 'cedit' is recognized after :normal. (Christian Brabandt, 2013 Mar 19, later message) -- 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 - Update by Taylor Hedberg, 2013 May 30. - Updated for Vim 7.4 by Ken Takata, 2013 Oct 5. - Update by Christian Brabandt, 2014 May 9. Remarks by Ken Takata. - Update by Christian 2014 May 12, github link on May 15 - 2014 May 28: remarks from Bram - Patch to view coverage of the tests. (Nazri Ramliy, 2013 Feb 15) Patch to invert characters differently in GTK. (Yukihiro Nakadaira, 2013 May @@ -676,9 +656,6 @@ Build problem with small features on Mac OS X 10.6. (Rainer, 2011 Jan 24) "0g@$" puts '] on last byte of multi-byte. (ZyX, 2011 Jan 22) -Patch to support sorting on floating point number. (Alex Jakushev, 2010 Oct -30) - Patch to addd TextDeletePost and TextYankPost events. (Philippe Vaucher, 2011 May 24) Update May 26. -- cgit v1.2.1