summaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-05-06 21:44:30 +0000
committerBram Moolenaar <Bram@vim.org>2006-05-06 21:44:30 +0000
commit56a907af93bfd0a51f79c7441d679889d936a223 (patch)
tree2fd8bf07fcce5c31718dcddc54bd9b1e29753a01 /runtime/doc
parent97e8f356004f564d3232a64428927d3c29164f66 (diff)
downloadvim-git-56a907af93bfd0a51f79c7441d679889d936a223.tar.gz
updated for version 7.0g05
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/autocmd.txt6
-rw-r--r--runtime/doc/eval.txt13
2 files changed, 11 insertions, 8 deletions
diff --git a/runtime/doc/autocmd.txt b/runtime/doc/autocmd.txt
index b79a5efe7..52dc02643 100644
--- a/runtime/doc/autocmd.txt
+++ b/runtime/doc/autocmd.txt
@@ -1,4 +1,4 @@
-*autocmd.txt* For Vim version 7.0g. Last change: 2006 Apr 30
+*autocmd.txt* For Vim version 7.0g. Last change: 2006 May 06
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -734,8 +734,8 @@ Syntax When the 'syntax' option has been set.
See |:syn-on|.
*TabEnter*
TabEnter Just after entering a tab page. |tab-page|
- Before triggering the WinEnter and BufEnter
- events.
+ After triggering the WinEnter and before
+ triggering the BufEnter event.
*TabLeave*
TabLeave Just before leaving a tab page. |tab-page|
A WinLeave event will have been triggered
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index 97940895b..8bc6a4b2d 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 05
+*eval.txt* For Vim version 7.0g. Last change: 2006 May 06
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -2691,12 +2691,14 @@ getchar([expr]) *getchar()*
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.
+ (decimal: 128). This is the same value as the string
+ "\<Key>", e.g., "\<Left>". 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.
+ one-byte character it is the character itself as a number.
+ Use nr2char() to convert it to a String.
There is no prompt, you will somehow have to make clear to the
user that a character has to be typed.
@@ -4677,6 +4679,7 @@ substitute({expr}, {pat}, {sub}, {flags}) *substitute()*
like the ":substitute" command (without any flags). But the
matching with {pat} is always done like the 'magic' option is
set and 'cpoptions' is empty (to make scripts portable).
+ 'ignorecase' is still relevant.
See |string-match| for how {pat} is used.
And a "~" in {sub} is not replaced with the previous {sub}.
Note that some codes in {sub} have a special meaning