Bram,

Here is a small documentation patch that indicates the [cmd]
associated with the :global command may contain a range.  Tim
Chase pointed out a couple of pre-existing examples in the
documentation, so I've linked to them from :global, which required
adding one extra tag in usr_25.txt.

diff -r 8bb4ca7fba40 runtime/doc/repeat.txt
--- a/runtime/doc/repeat.txt    Wed Oct 22 22:09:01 2014 +0200
+++ b/runtime/doc/repeat.txt    Mon Oct 27 07:04:58 2014 -0400
@@ -64,6 +64,8 @@
 
 For the definition of a pattern, see |pattern|.
 
+NOTE [cmd] may contain a range as well; see |collapse| and
|edit-paragraph-join|.
+
 The global commands work by first scanning through the [range] lines and
 marking each line where a match occurs (for a multi-line pattern, only the
 start of the match matters).
diff -r 8bb4ca7fba40 runtime/doc/usr_25.txt
--- a/runtime/doc/usr_25.txt    Wed Oct 22 22:09:01 2014 +0200
+++ b/runtime/doc/usr_25.txt    Mon Oct 27 07:04:58 2014 -0400
@@ -402,7 +402,7 @@
     :map <Down> gj
 
 
-TURNING A PARAGRAPH INTO ONE LINE
+TURNING A PARAGRAPH INTO ONE LINE               *edit-paragraph-join*
 
 If you want to import text into a program like MS-Word, each paragraph
should
 be a single line.  If your paragraphs are currently separated with empty

Thanks,
Michael Henry

-- 
-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui