diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-05-05 21:15:17 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-05-05 21:15:17 +0000 |
commit | 91170f8ae70cb9a2c15a5d89182f317c18aa0de7 (patch) | |
tree | 1633e86e6a00760931319093cec0ea7fc3709893 /runtime/doc | |
parent | f3a678875fd88038b18b83311075d1250d9d7ca5 (diff) | |
download | vim-git-91170f8ae70cb9a2c15a5d89182f317c18aa0de7.tar.gz |
updated for version 7.0g04
Diffstat (limited to 'runtime/doc')
-rw-r--r-- | runtime/doc/change.txt | 10 | ||||
-rw-r--r-- | runtime/doc/eval.txt | 43 | ||||
-rw-r--r-- | runtime/doc/help.txt | 10 | ||||
-rw-r--r-- | runtime/doc/insert.txt | 7 |
4 files changed, 43 insertions, 27 deletions
diff --git a/runtime/doc/change.txt b/runtime/doc/change.txt index 4cc671116..9c67953bd 100644 --- a/runtime/doc/change.txt +++ b/runtime/doc/change.txt @@ -1,4 +1,4 @@ -*change.txt* For Vim version 7.0g. Last change: 2006 Apr 30 +*change.txt* For Vim version 7.0g. Last change: 2006 May 05 VIM REFERENCE MANUAL by Bram Moolenaar @@ -1429,8 +1429,9 @@ value action ~ "c" automatic formatting for comments, but not text (good for C code) "tc" automatic formatting for text and comments -Note that when 'textwidth' is 0, Vim does no formatting anyway (but does -insert comment leaders according to the 'comments' option). +Note that when 'textwidth' is 0, Vim does no automatic formatting anyway (but +does insert comment leaders according to the 'comments' option). An exception +is when the 'a' flag is present. |auto-format| Note that when 'paste' is on, Vim does no formatting at all. @@ -1485,6 +1486,9 @@ editing text paragraphs. A few hints on how to use this: - Add the 'c' flag to only auto-format comments. Useful in source code. +- Set 'textwidth' to the desired width. If it is zero then 79 is used, or the + width of the screen if this is smaller. + And a few warnings: - When part of the text is not properly separated in paragraphs, making diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index 3696c8aa8..97940895b 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -1,4 +1,4 @@ -*eval.txt* For Vim version 7.0g. Last change: 2006 May 04 +*eval.txt* For Vim version 7.0g. Last change: 2006 May 05 VIM REFERENCE MANUAL by Bram Moolenaar @@ -2346,12 +2346,13 @@ exists({expr}) The result is a Number, which is non-zero if {expr} is exists("##ColorScheme") < There must be no space between the symbol (&/$/*/#) and the name. - Trailing characters that can't be part of the name are often - ignored, but don't depend on it, it may change in the future! - Example: > - exists("*strftime()") -< This currently works, but it should really be: > - exists("*strftime") + There must be no extra characters after the name, although in + a few cases this is ignored. That may become more strict in + the future, thus don't count on it! + Working example: > + exists(":make") +< NOT working example: > + exists(":make install") < Note that the argument must be a string, not the name of the variable itself. For example: > @@ -2678,21 +2679,25 @@ getbufvar({expr}, {varname}) *getbufvar()* :echo "todo myvar = " . getbufvar("todo", "myvar") < getchar([expr]) *getchar()* - Get a single character from the user. If it is an 8-bit - character, the result is a number. Otherwise a String is - returned with the encoded character. For a special key it's a - sequence of bytes starting with 0x80 (decimal: 128). + Get a single character from the user or input stream. If [expr] is omitted, wait until a character is available. If [expr] is 0, only get a character when one is available. + Return zero otherwise. If [expr] is 1, only check if a character is available, it is - not consumed. If one is available a non-zero - number is returned. For a one-byte character - it is the character itself. - If a normal character available, it is returned as a Number. - Use nr2char() to convert it to a String. - The returned value is zero if no character is available. - The returned value is a string of characters for special keys - and when a modifier (shift, control, alt) was used. + not consumed. Return zero if no character available. + + Without {expr} and when {expr} is 0 a whole character or + special key is returned. If it is an 8-bit character, the + result is a number. Use nr2char() to convert it to a String. + Otherwise a String is returned with the encoded character. + For a special key it's a sequence of bytes starting with 0x80 + (decimal: 128). The returned value is also a String when a + modifier (shift, control, alt) was used that is not included + in the character. + + When {expr} is 1 only the first byte is returned. For a + one-byte character it is the character itself. + There is no prompt, you will somehow have to make clear to the user that a character has to be typed. There is no mapping for the character. diff --git a/runtime/doc/help.txt b/runtime/doc/help.txt index 788143af7..79ae5b9db 100644 --- a/runtime/doc/help.txt +++ b/runtime/doc/help.txt @@ -1,4 +1,4 @@ -*help.txt* For Vim version 7.0g. Last change: 2006 May 04 +*help.txt* For Vim version 7.0g. Last change: 2006 May 05 VIM - main help file k @@ -202,6 +202,12 @@ LOCAL ADDITIONS: *local-additions* |test.txt| Testing the hélp cömmånd nôw |typecorr.txt| Plugin for correcting typing mistakes |helpp.txt| Dummy line to avoid an error message +|cecutil.txt| DrChip's Utilities Jun 11, 2004 +|example.txt| Example for a locally added help file +|matchit.txt| Extended "%" matching +|test.txt| Testing the hélp cömmånd nôw +|typecorr.txt| Plugin for correcting typing mistakes +|helpp.txt| Dummy line to avoid an error message ------------------------------------------------------------------------------ *bars* Bars example @@ -210,7 +216,7 @@ Now that you've jumped here with CTRL-] or a double mouse click, you can use CTRL-T, CTRL-O, g<RightMouse>, or <C-RightMouse> to go back to where you were. Note that tags are within | characters, but when highlighting is enabled these -are hidden. That makes it easier to read the command. +are hidden. That makes it easier to read a command. Anyway, you can use CTRL-] on any word, also when it is not within |, and Vim will try to find help for it. diff --git a/runtime/doc/insert.txt b/runtime/doc/insert.txt index 48d455023..97e964e73 100644 --- a/runtime/doc/insert.txt +++ b/runtime/doc/insert.txt @@ -1,4 +1,4 @@ -*insert.txt* For Vim version 7.0g. Last change: 2006 May 03 +*insert.txt* For Vim version 7.0g. Last change: 2006 May 05 VIM REFERENCE MANUAL by Bram Moolenaar @@ -1020,8 +1020,9 @@ items: info more information about the item, can be displayed in a preview window kind single letter indicating the type of completion - icase when non-zero case is to be ignored; when omitted - the 'ignorecase' option is used + icase when non-zero case is to be ignored when comparing + items to be equal; when omitted zero is used, thus + items that only differ in case are added dup when non-zero this match will be added even when an item with the same word is already present. |