Am 20.12.2014 um 11:33 schrieb Bram Moolenaar:
Andy Wokula wrote:
What about a help section for the following special commands?
2-letter and 3-letter :substitute commands
==========================================
List of :substitute commands
| c e g i I n p l r
| c :sc :sce :scg :sci :scI :scn :scp :scl ---
| e
| g :sgc :sge :sg :sgi :sgI :sgn :sgp :sgl :sgr
| i :sic :sie --- :si :siI :sin :sip --- :sir
| I :sIc :sIe :sIg :sIi :sI :sIn :sIp :sIl :sIr
| n
| p
| l
| r :src --- :srg :sri :srI :srn :srp :srl :sr
Exceptions:
:scr is :scriptnames
:se is :set
:sig is :sign
:sil is :silent
:sn is :snext
:sp is :split
:sl is :sleep
:sre is :srewind
This would be useful, if we add help tags.
See attachment.
--
Andy
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
diff -r 30042ddff503 runtime/doc/change.txt
--- a/runtime/doc/change.txt Tue Oct 13 23:30:05 2015 +0200
+++ b/runtime/doc/change.txt Sat Oct 17 13:48:50 2015 +0200
@@ -1,4 +1,4 @@
-*change.txt* For Vim version 7.4. Last change: 2015 Sep 06
+*change.txt* For Vim version 7.4. Last change: 2015 Oct 17
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -637,6 +637,11 @@
The space between `:substitute` and the 'c', 'g',
'i', 'I' and 'r' flags isn't required, but in scripts
it's a good idea to keep it to avoid confusion.
+ *:sc* *:sce* *:scg* *:sci* *:scI* *:scl* *:scp* *:sg* *:sgc*
*:sge* *:sgi* *:sgI* *:sgl*
+ *:sgn* *:sgp* *:sgr* *:sI* *:si* *:sic* *:sIc* *:sie* *:sIe*
*:sIg* *:sIl* *:sin* *:sIn*
+ *:sIp* *:sip* *:sIr* *:sir* *:sr* *:src* *:srg* *:sri* *:srI*
*:srl* *:srn* *:srp*
+ A :substitute command |:&| with one or two [flags].
+
:[range]~[&][flags] [count] *:~*
Repeat last substitute with same substitute string
diff -r 30042ddff503 runtime/doc/tags
--- a/runtime/doc/tags Tue Oct 13 23:30:05 2015 +0200
+++ b/runtime/doc/tags Sat Oct 17 13:48:50 2015 +0200
@@ -2714,6 +2714,14 @@
:rviminfo starting.txt /*:rviminfo*
:s change.txt /*:s*
:s% change.txt /*:s%*
+:sI change.txt /*:sI*
+:sIc change.txt /*:sIc*
+:sIe change.txt /*:sIe*
+:sIg change.txt /*:sIg*
+:sIl change.txt /*:sIl*
+:sIn change.txt /*:sIn*
+:sIp change.txt /*:sIp*
+:sIr change.txt /*:sIr*
:sN windows.txt /*:sN*
:sNext windows.txt /*:sNext*
:s\= change.txt /*:s\\=*
@@ -2745,6 +2753,13 @@
:sbr windows.txt /*:sbr*
:sbrewind windows.txt /*:sbrewind*
:sbuffer windows.txt /*:sbuffer*
+:sc change.txt /*:sc*
+:scI change.txt /*:scI*
+:sce change.txt /*:sce*
+:scg change.txt /*:scg*
+:sci change.txt /*:sci*
+:scl change.txt /*:scl*
+:scp change.txt /*:scp*
:scr repeat.txt /*:scr*
:scripte repeat.txt /*:scripte*
:scriptencoding repeat.txt /*:scriptencoding*
@@ -2778,8 +2793,20 @@
:sfind windows.txt /*:sfind*
:sfir windows.txt /*:sfir*
:sfirst windows.txt /*:sfirst*
+:sg change.txt /*:sg*
+:sgI change.txt /*:sgI*
+:sgc change.txt /*:sgc*
+:sge change.txt /*:sge*
+:sgi change.txt /*:sgi*
+:sgl change.txt /*:sgl*
+:sgn change.txt /*:sgn*
+:sgp change.txt /*:sgp*
+:sgr change.txt /*:sgr*
:sh various.txt /*:sh*
:shell various.txt /*:shell*
+:si change.txt /*:si*
+:sic change.txt /*:sic*
+:sie change.txt /*:sie*
:sig sign.txt /*:sig*
:sign sign.txt /*:sign*
:sign-define sign.txt /*:sign-define*
@@ -2794,6 +2821,9 @@
:silent various.txt /*:silent*
:sim gui_w32.txt /*:sim*
:simalt gui_w32.txt /*:simalt*
+:sin change.txt /*:sin*
+:sip change.txt /*:sip*
+:sir change.txt /*:sir*
:sl various.txt /*:sl*
:sla windows.txt /*:sla*
:slast windows.txt /*:slast*
@@ -2838,8 +2868,16 @@
:split_f windows.txt /*:split_f*
:spr windows.txt /*:spr*
:sprevious windows.txt /*:sprevious*
+:sr change.txt /*:sr*
+:srI change.txt /*:srI*
+:src change.txt /*:src*
:sre windows.txt /*:sre*
:srewind windows.txt /*:srewind*
+:srg change.txt /*:srg*
+:sri change.txt /*:sri*
+:srl change.txt /*:srl*
+:srn change.txt /*:srn*
+:srp change.txt /*:srp*
:st starting.txt /*:st*
:sta windows.txt /*:sta*
:stag windows.txt /*:stag*