>From the vim_use list thread, "Activating Windows gVim from the
command line":

On 02 Aug 2012 21:32:33, Tony Mechelynck wrote:

> On 02/08/12 16:30, Ben Fritz wrote:

>> I do have one minor note which may save you some trouble in the future.
>> 
>> You seem to think vim -c "/pattern" performs a '/' search. It
>> doesn't. What it is doing is specifying the first line of an ex
>> command range via a pattern. I'm not sure where it's documented
>> but specifying a single-line range with no command will just set
>> the cursor to that line.
> 
> It has ho helptag of its own, but it is documented as :[range], just after
> ":help gg", in the section about up and down motions.

Attached in a proposed patch to add this tag.  The patch is based on
Vim 7.3.622.

Regards,
Gary

-- 
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
*** vim.6581d543a54c/runtime/doc/motion.txt	2012-08-02 13:10:19.261536191 -0700
--- /usr/local/src/vim/vim/runtime/doc/motion.txt	2012-08-02 13:06:04.081528995 -0700
***************
*** 326,331 ****
--- 326,332 ----
  			non-blank character |linewise|.  If 'startofline' not
  			set, keep the same column.
  
+ 							*:[range]*
  :[range]		Set the cursor on the last line number in [range].
  			[range] can also be just one line number, e.g., ":1"
  			or ":'m".

Raspunde prin e-mail lui