updated for version 7.0118
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
*eval.txt* For Vim version 7.0aa. Last change: 2005 Jul 25
|
||||
*eval.txt* For Vim version 7.0aa. Last change: 2005 Jul 28
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -2416,29 +2416,24 @@ get({dict}, {key} [, {default}])
|
||||
|
||||
*getbufline()*
|
||||
getbufline({expr}, {lnum} [, {end}])
|
||||
Return the lines starting from {lnum} to {end} in the buffer
|
||||
{expr} as a List. If {end} is omitted, only the line {lnum}
|
||||
is returned.
|
||||
Return a List with the lines starting from {lnum} to {end}
|
||||
(inclusive) in the buffer {expr}. If {end} is omitted, a List
|
||||
with only the line {lnum} is returned.
|
||||
|
||||
For the use of {expr}, see |bufname()| above.
|
||||
|
||||
When {lnum} is a String that doesn't start with a
|
||||
digit, line() is called to translate the String into a Number.
|
||||
|
||||
{end} is used in the same way as {lnum}.
|
||||
For {lnum} and {end} "$" can be used for the last line of the
|
||||
buffer. Otherwise a number must be used.
|
||||
|
||||
When {lnum} is smaller than 1 or bigger than the number of
|
||||
lines in the buffer, an empty List is returned.
|
||||
|
||||
When {end} is greater than the number of lines in the buffer,
|
||||
it is treated as {end} is set to the number of lines in the
|
||||
buffer.
|
||||
|
||||
When non-existing line ranges are specified, an empty List is
|
||||
returned. When {end} is before {lnum} an empty List is
|
||||
buffer. When {end} is before {lnum} an empty List is
|
||||
returned.
|
||||
|
||||
This function works only for loaded buffers. For unloaded and
|
||||
This function works only for loaded buffers. For unloaded and
|
||||
non-existing buffers, an empty List is returned.
|
||||
|
||||
Example: >
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
*options.txt* For Vim version 7.0aa. Last change: 2005 Jul 26
|
||||
*options.txt* For Vim version 7.0aa. Last change: 2005 Jul 28
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -2282,9 +2282,11 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
|viminfo-file|. And Vim expects the terminal to use utf-8 too. Thus
|
||||
setting 'encoding' to one of these values instead of utf-8 only has
|
||||
effect for encoding used for files when 'fileencoding' is empty.
|
||||
"utf-16" is NOT supported (and probably never will be, since it's such
|
||||
an ugly encoding). *utf-16*
|
||||
|
||||
When 'encoding' is set to a Unicode encoding, and 'fileencodings' was
|
||||
not set yet, the default for 'fileencodings' is changed.
|
||||
When 'encoding' is set to a Unicode encoding, and 'fileencodings' was
|
||||
not set yet, the default for 'fileencodings' is changed.
|
||||
|
||||
*'endofline'* *'eol'* *'noendofline'* *'noeol'*
|
||||
'endofline' 'eol' boolean (default on)
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
*syntax.txt* For Vim version 7.0aa. Last change: 2005 Jul 18
|
||||
*syntax.txt* For Vim version 7.0aa. Last change: 2005 Jul 28
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -3641,6 +3641,15 @@ specified field is used, and settings are merged with previous ones. So, the
|
||||
result is like this single command has been used: >
|
||||
:hi Comment term=bold ctermfg=Cyan guifg=#80a0ff gui=bold
|
||||
<
|
||||
When listing a highlight group and 'verbose' is non-zero, the listing will
|
||||
also tell where it was last set. Example: >
|
||||
:verbose hi Comment
|
||||
< Comment xxx term=bold ctermfg=4 guifg=Blue ~
|
||||
Last set from /home/mool/vim/vim7/runtime/syntax/syncolor.vim ~
|
||||
|
||||
For details about when this message is given and when it's valid see
|
||||
|:set-verbose|.
|
||||
|
||||
*highlight-args* *E416* *E417* *E423*
|
||||
There are three types of terminals for highlighting:
|
||||
term a normal terminal (vt100, xterm)
|
||||
|
||||
@ -4984,6 +4984,7 @@ g:netrw_rmdir_cmd pi_netrw.txt /*g:netrw_rmdir_cmd*
|
||||
g:netrw_rmf_cmd pi_netrw.txt /*g:netrw_rmf_cmd*
|
||||
g:var eval.txt /*g:var*
|
||||
g; motion.txt /*g;*
|
||||
g< message.txt /*g<*
|
||||
g<Down> motion.txt /*g<Down>*
|
||||
g<End> motion.txt /*g<End>*
|
||||
g<Home> motion.txt /*g<Home>*
|
||||
@ -6746,6 +6747,7 @@ usr_44.txt usr_44.txt /*usr_44.txt*
|
||||
usr_45.txt usr_45.txt /*usr_45.txt*
|
||||
usr_90.txt usr_90.txt /*usr_90.txt*
|
||||
usr_toc.txt usr_toc.txt /*usr_toc.txt*
|
||||
utf-16 options.txt /*utf-16*
|
||||
utf-8 mbyte.txt /*utf-8*
|
||||
utf-8-char-arg mbyte.txt /*utf-8-char-arg*
|
||||
utf-8-in-xwindows mbyte.txt /*utf-8-in-xwindows*
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
*todo.txt* For Vim version 7.0aa. Last change: 2005 Jul 27
|
||||
*todo.txt* For Vim version 7.0aa. Last change: 2005 Jul 28
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -30,6 +30,8 @@ be worked on, but only if you sponsor Vim development. See |sponsor|.
|
||||
*known-bugs*
|
||||
-------------------- Known bugs and current work -----------------------
|
||||
|
||||
Is it simple to let ":verbose hi mailSubject" mention where it was last set?
|
||||
|
||||
Mac unicode patch (Da Woon Jung):
|
||||
- selecting proportional font breaks display
|
||||
- UTF-8 text causes display problems. Font replacement causes this.
|
||||
@ -52,8 +54,6 @@ Awaiting response:
|
||||
- Win32: tearoff menu window should have a scrollbar when it's taller than
|
||||
the screen.
|
||||
- mblen(NULL, 0) also in Vim 6.3?
|
||||
- Win32: Crash when pasting Simplified Chinese in utf-8. (rainux, 2005 June
|
||||
20)
|
||||
|
||||
|
||||
PLANNED FOR VERSION 7.0:
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
*version7.txt* For Vim version 7.0aa. Last change: 2005 Jul 27
|
||||
*version7.txt* For Vim version 7.0aa. Last change: 2005 Jul 28
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -238,6 +238,9 @@ is especially useful for commands such as ":syntax", ":autocommand" and
|
||||
commands and highlighting is kept. Only works when the 'more' option is set.
|
||||
Previously it only partly worked for ":clist".
|
||||
|
||||
The |g<| command can be used to see the last page of messages after you have
|
||||
hit <Enter> at the |hit-enter-prompt|. Then you can scroll further back.
|
||||
|
||||
|
||||
POSIX compatibility *new-posix*
|
||||
-------------------
|
||||
@ -724,6 +727,9 @@ Win32: Balloons can have multiple lines if common controls supports it.
|
||||
The 's' flag is added to the search() and searchpair() function to set the
|
||||
' mark if the cursor is moved. (Yegappan Lakshmanan)
|
||||
|
||||
When 'verbose' is set the output of ":highlight" will show where a highlight
|
||||
item was last set.
|
||||
|
||||
==============================================================================
|
||||
COMPILE TIME CHANGES *compile-changes-7*
|
||||
|
||||
|
||||
@ -14,11 +14,11 @@ all: $(SPELLDIR)/de.latin1.spl $(SPELLDIR)/de.utf-8.spl ../README_de.txt
|
||||
|
||||
$(SPELLDIR)/de.latin1.spl : $(VIM) $(FILES)
|
||||
:sys env LANG=de_DE.ISO8859-1
|
||||
$(VIM) -e -c "mkspell! $(SPELLDIR)/de de_DE" -c q
|
||||
$(VIM) -u NONE -e -c "mkspell! $(SPELLDIR)/de de_DE" -c q
|
||||
|
||||
$(SPELLDIR)/de.utf-8.spl : $(VIM) $(FILES)
|
||||
:sys env LANG=de_DE.UTF-8
|
||||
$(VIM) -e -c "mkspell! $(SPELLDIR)/de de_DE" -c q
|
||||
$(VIM) -u NONE -e -c "mkspell! $(SPELLDIR)/de de_DE" -c q
|
||||
|
||||
../README_de.txt: README_de_DE_comb.txt
|
||||
:copy $source $target
|
||||
|
||||
@ -18,16 +18,16 @@ all: $(SPELLDIR)/en.latin1.spl $(SPELLDIR)/en.utf-8.spl \
|
||||
|
||||
$(SPELLDIR)/en.latin1.spl : $(VIM) $(FILES)
|
||||
:sys env LANG=en_US.ISO8859-1
|
||||
$(VIM) -e -c "mkspell! $(SPELLDIR)/en en_US en_AU en_CA en_GB
|
||||
en_NZ" -c q
|
||||
$(VIM) -u NONE -e -c "mkspell! $(SPELLDIR)/en
|
||||
en_US en_AU en_CA en_GB en_NZ" -c q
|
||||
|
||||
$(SPELLDIR)/en.utf-8.spl : $(VIM) $(FILES)
|
||||
:sys env LANG=en_US.UTF-8
|
||||
$(VIM) -e -c "mkspell! $(SPELLDIR)/en en_US en_AU en_CA en_GB
|
||||
en_NZ" -c q
|
||||
$(VIM) -u NONE -e -c "mkspell! $(SPELLDIR)/en
|
||||
en_US en_AU en_CA en_GB en_NZ" -c q
|
||||
|
||||
$(SPELLDIR)/en.ascii.spl : $(VIM) $(FILES)
|
||||
:sys $(VIM) -e -c "mkspell! -ascii $(SPELLDIR)/en
|
||||
:sys $(VIM) -u NONE -e -c "mkspell! -ascii $(SPELLDIR)/en
|
||||
en_US en_AU en_CA en_GB en_NZ" -c q
|
||||
|
||||
../README_en.txt: README_en_US.txt README_en_AU.txt
|
||||
|
||||
@ -13,10 +13,10 @@ all: $(SPELLDIR)/he.utf-8.spl $(SPELLDIR)/he.iso-8859-8.spl ../README_he.txt
|
||||
|
||||
$(SPELLDIR)/he.utf-8.spl : $(VIM) $(FILES)
|
||||
:sys env LANG=he_IL.UTF-8
|
||||
$(VIM) -e -c "mkspell! $(SPELLDIR)/he he_IL" -c q
|
||||
$(VIM) -u NONE -e -c "mkspell! $(SPELLDIR)/he he_IL" -c q
|
||||
|
||||
$(SPELLDIR)/he.iso-8859-8.spl : $(VIM) $(FILES)
|
||||
:sys $(VIM) -e -c "set enc=iso-8859-8"
|
||||
:sys $(VIM) -u NONE -e -c "set enc=iso-8859-8"
|
||||
-c "mkspell! $(SPELLDIR)/he he_IL" -c q
|
||||
|
||||
../README_he.txt : README_he_IL.txt
|
||||
|
||||
@ -13,11 +13,11 @@ all: $(SPELLDIR)/nl.latin1.spl $(SPELLDIR)/nl.utf-8.spl ../README_nl.txt
|
||||
|
||||
$(SPELLDIR)/nl.latin1.spl : $(VIM) $(FILES)
|
||||
:sys env LANG=nl_NL.ISO8859-1
|
||||
$(VIM) -e -c "mkspell! $(SPELLDIR)/nl nl_NL" -c q
|
||||
$(VIM) -u NONE -e -c "mkspell! $(SPELLDIR)/nl nl_NL" -c q
|
||||
|
||||
$(SPELLDIR)/nl.utf-8.spl : $(VIM) $(FILES)
|
||||
:sys env LANG=nl_NL.UTF-8
|
||||
$(VIM) -e -c "mkspell! $(SPELLDIR)/nl nl_NL" -c q
|
||||
$(VIM) -u NONE -e -c "mkspell! $(SPELLDIR)/nl nl_NL" -c q
|
||||
|
||||
../README_nl.txt : README_nl_NL.txt
|
||||
:copy $source $target
|
||||
|
||||
@ -13,13 +13,13 @@ all: $(SPELLDIR)/pl.iso-8859-2.spl $(SPELLDIR)/pl.utf-8.spl \
|
||||
$(SPELLDIR)/pl.cp1250.spl ../README_pl.txt
|
||||
|
||||
$(SPELLDIR)/pl.iso-8859-2.spl : $(VIM) $(FILES)
|
||||
:sys env LANG=pl_PL.ISO8859-2 $(VIM) -e -c "mkspell! $(SPELLDIR)/pl pl_PL" -c q
|
||||
:sys env LANG=pl_PL.ISO8859-2 $(VIM) -u NONE -e -c "mkspell! $(SPELLDIR)/pl pl_PL" -c q
|
||||
|
||||
$(SPELLDIR)/pl.utf-8.spl : $(VIM) $(FILES)
|
||||
:sys env LANG=pl_PL.UTF-8 $(VIM) -e -c "mkspell! $(SPELLDIR)/pl pl_PL" -c q
|
||||
:sys env LANG=pl_PL.UTF-8 $(VIM) -u NONE -e -c "mkspell! $(SPELLDIR)/pl pl_PL" -c q
|
||||
|
||||
$(SPELLDIR)/pl.cp1250.spl : $(VIM) $(FILES)
|
||||
:sys $(VIM) -e -c "set enc=cp1250" -c "mkspell! $(SPELLDIR)/pl pl_PL" -c q
|
||||
:sys $(VIM) -u NONE -e -c "set enc=cp1250" -c "mkspell! $(SPELLDIR)/pl pl_PL" -c q
|
||||
|
||||
../README_pl.txt: README_pl_PL.txt
|
||||
:copy $source $target
|
||||
|
||||
Reference in New Issue
Block a user