Mercurial > vim
comparison runtime/doc/change.txt @ 4186:7ffc704cb7c1
Updated runtime files.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Thu, 07 Mar 2013 13:20:54 +0100 |
parents | c53344bacabf |
children | 2d1383658bb4 |
comparison
equal
deleted
inserted
replaced
4185:651e484a8f48 | 4186:7ffc704cb7c1 |
---|---|
598 the flags. | 598 the flags. |
599 | 599 |
600 *g&* | 600 *g&* |
601 g& Synonym for `:%s//~/&` (repeat last substitute with | 601 g& Synonym for `:%s//~/&` (repeat last substitute with |
602 last search pattern on all 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 | 603 For example, when you first do a substitution with |
604 `:s/pattern/repl/flags` and then `/search` for | 604 `:s/pattern/repl/flags` and then `/search` for |
605 something else, `g&` will do `:%s/search/repl/flags`. | 605 something else, `g&` will do `:%s/search/repl/flags`. |
606 Mnemonic: global substitute. {not in Vi} | 606 Mnemonic: global substitute. {not in Vi} |
607 | 607 |
608 *:snomagic* *:sno* | 608 *:snomagic* *:sno* |