Mercurial > vim
comparison runtime/doc/change.txt @ 7183:ffad29dc7eee
commit https://github.com/vim/vim/commit/a0f849ee40cbea3c889345256786b640b0becca2
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Oct 30 14:37:44 2015 +0100
Update runtime files.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 30 Oct 2015 14:45:04 +0100 |
parents | f717d96a39b3 |
children | ad432f8f68fb |
comparison
equal
deleted
inserted
replaced
7182:c6a1a1ea7c19 | 7183:ffad29dc7eee |
---|---|
1 *change.txt* For Vim version 7.4. Last change: 2015 Sep 06 | 1 *change.txt* For Vim version 7.4. Last change: 2015 Oct 17 |
2 | 2 |
3 | 3 |
4 VIM REFERENCE MANUAL by Bram Moolenaar | 4 VIM REFERENCE MANUAL by Bram Moolenaar |
5 | 5 |
6 | 6 |
860 When using parentheses in combination with '|', like in \([ab]\)\|\([cd]\), | 860 When using parentheses in combination with '|', like in \([ab]\)\|\([cd]\), |
861 either the first or second pattern in parentheses did not match, so either | 861 either the first or second pattern in parentheses did not match, so either |
862 \1 or \2 is empty. Example: > | 862 \1 or \2 is empty. Example: > |
863 :s/\([ab]\)\|\([cd]\)/\1x/g modifies "a b c d" to "ax bx x x" | 863 :s/\([ab]\)\|\([cd]\)/\1x/g modifies "a b c d" to "ax bx x x" |
864 < | 864 < |
865 | |
866 *:sc* *:sce* *:scg* *:sci* *:scI* *:scl* *:scp* *:sg* *:sgc* | |
867 *:sge* *:sgi* *:sgI* *:sgl* *:sgn* *:sgp* *:sgr* *:sI* *:si* | |
868 *:sic* *:sIc* *:sie* *:sIe* *:sIg* *:sIl* *:sin* *:sIn* *:sIp* | |
869 *:sip* *:sIr* *:sir* *:sr* *:src* *:srg* *:sri* *:srI* *:srl* | |
870 *:srn* *:srp* | |
871 2-letter and 3-letter :substitute commands ~ | |
872 | |
873 List of :substitute commands | |
874 | c e g i I n p l r | |
875 | c :sc :sce :scg :sci :scI :scn :scp :scl --- | |
876 | e | |
877 | g :sgc :sge :sg :sgi :sgI :sgn :sgp :sgl :sgr | |
878 | i :sic :sie --- :si :siI :sin :sip --- :sir | |
879 | I :sIc :sIe :sIg :sIi :sI :sIn :sIp :sIl :sIr | |
880 | n | |
881 | p | |
882 | l | |
883 | r :src --- :srg :sri :srI :srn :srp :srl :sr | |
884 | |
885 Exceptions: | |
886 :scr is `:scriptnames` | |
887 :se is `:set` | |
888 :sig is `:sign` | |
889 :sil is `:silent` | |
890 :sn is `:snext` | |
891 :sp is `:split` | |
892 :sl is `:sleep` | |
893 :sre is `:srewind` | |
894 | |
865 | 895 |
866 Substitute with an expression *sub-replace-expression* | 896 Substitute with an expression *sub-replace-expression* |
867 *sub-replace-\=* *s/\=* | 897 *sub-replace-\=* *s/\=* |
868 When the substitute string starts with "\=" the remainder is interpreted as an | 898 When the substitute string starts with "\=" the remainder is interpreted as an |
869 expression. This does not work recursively: a |substitute()| function inside | 899 expression. This does not work recursively: a |substitute()| function inside |