From 97d62497f51902f404c7dcc72683411df911593e Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 15 Nov 2012 21:28:22 +0100 Subject: Updated runtime files. --- runtime/doc/change.txt | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'runtime/doc/change.txt') diff --git a/runtime/doc/change.txt b/runtime/doc/change.txt index 22eff706d..d5f19a634 100644 --- a/runtime/doc/change.txt +++ b/runtime/doc/change.txt @@ -1,4 +1,4 @@ -*change.txt* For Vim version 7.3. Last change: 2012 Aug 08 +*change.txt* For Vim version 7.3. Last change: 2012 Nov 02 VIM REFERENCE MANUAL by Bram Moolenaar @@ -598,8 +598,11 @@ For other systems the tmpnam() library function is used. the flags. *g&* -g& Synonym for `:%s//~/&` (repeat last substitute on all - lines with the same flags). +g& Synonym for `:%s//~/&` (repeat last substitute with + last search pattern on all lines with the same flags). + For exaple, when you first do a substitution with + `:s/pattern/repl/flags` and then `/search` for + something else, `g&` will do `:%s/search/repl/flags`. Mnemonic: global substitute. {not in Vi} *:snomagic* *:sno* -- cgit v1.2.1