comparison runtime/doc/change.txt @ 3920:c53344bacabf

Updated runtime files.
author Bram Moolenaar <bram@vim.org>
date Thu, 15 Nov 2012 21:28:22 +0100
parents 536aa8b0c934
children 7ffc704cb7c1
comparison
equal deleted inserted replaced
3919:23fc3dc4317e 3920:c53344bacabf
1 *change.txt* For Vim version 7.3. Last change: 2012 Aug 08 1 *change.txt* For Vim version 7.3. Last change: 2012 Nov 02
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
596 that the flags are not remembered, thus it might 596 that the flags are not remembered, thus it might
597 actually work differently. You can use `:&&` to keep 597 actually work differently. You can use `:&&` to keep
598 the flags. 598 the flags.
599 599
600 *g&* 600 *g&*
601 g& Synonym for `:%s//~/&` (repeat last substitute on all 601 g& Synonym for `:%s//~/&` (repeat last substitute with
602 lines with the same flags). 602 last search pattern on all lines with the same flags).
603 For exaple, when you first do a substitution with
604 `:s/pattern/repl/flags` and then `/search` for
605 something else, `g&` will do `:%s/search/repl/flags`.
603 Mnemonic: global substitute. {not in Vi} 606 Mnemonic: global substitute. {not in Vi}
604 607
605 *:snomagic* *:sno* 608 *:snomagic* *:sno*
606 :[range]sno[magic] ... Same as `:substitute`, but always use 'nomagic'. 609 :[range]sno[magic] ... Same as `:substitute`, but always use 'nomagic'.
607 {not in Vi} 610 {not in Vi}