summaryrefslogtreecommitdiffstats
path: root/runtime/doc/change.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-07-30 22:43:24 +0000
committerBram Moolenaar <Bram@vim.org>2005-07-30 22:43:24 +0000
commit5a8684e7821a35e371b845b60699df527a855a9f (patch)
treef43514fa375c03008e73c573c1d55d54c00e775e /runtime/doc/change.txt
parent3a6c56e422af98290f81592a1565991d912afcd3 (diff)
updated for version 7.0120
Diffstat (limited to 'runtime/doc/change.txt')
-rw-r--r--runtime/doc/change.txt13
1 files changed, 8 insertions, 5 deletions
diff --git a/runtime/doc/change.txt b/runtime/doc/change.txt
index 83f50f1831..fc0b1c91f7 100644
--- a/runtime/doc/change.txt
+++ b/runtime/doc/change.txt
@@ -1,4 +1,4 @@
-*change.txt* For Vim version 7.0aa. Last change: 2005 Jun 25
+*change.txt* For Vim version 7.0aa. Last change: 2005 Jul 30
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -682,8 +682,8 @@ For the definition of a pattern, see |pattern|.
*sub-replace-special* *:s\=*
When the {string} starts with "\=" it is evaluated as an expression, see
-|sub-replace-expression|. Otherwise these characters in {string} have a
-special meaning:
+|sub-replace-expression|. You can use that for any special characters.
+Otherwise these characters in {string} have a special meaning:
*:s%*
When {string} is equal to "%" and '/' is included with the 'cpotions' option,
then the {string} of the previous substitute command is used. |cpo-/|
@@ -771,9 +771,12 @@ Be careful: The separation character must not appear in the expression!
Consider using a character like "@" or ":". There is no problem if the result
of the expression contains the separation character.
-Example: >
+Examples: >
:s@\n@\="\r" . expand("$HOME") . "\r"@
-This replaces an end-of-line with a new line containing the value of $HOME.
+This replaces an end-of-line with a new line containing the value of $HOME. >
+
+ s/E/\="\<Char-0x20ac>"/g
+This replaces 'E' characters with an euro sign. Read more in |<Char->|.
4.3 Search and replace *search-replace*