Loading ...
Sorry, an error occurred while loading the content.

[PATCH] Add ":[range]" tag to motion.txt (Was: Activating Windows gVim from the command line)

Expand Messages
  • Gary Johnson
    From the vim_use list thread, Activating Windows gVim from the command line : ... Attached in a proposed patch to add this tag. The patch is based on Vim
    Message 1 of 2 , Aug 2, 2012
    • 0 Attachment
      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
    • Bram Moolenaar
      ... Good idea, thanks. -- Your mouse has moved. Windows must be restarted for the change to take effect. Reboot now? /// Bram Moolenaar -- Bram@Moolenaar.net
      Message 2 of 2 , Aug 4, 2012
      • 0 Attachment
        Bary Johnson wrote:

        > >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.

        Good idea, thanks.


        --
        Your mouse has moved. Windows must be restarted for the change
        to take effect. Reboot now?

        /// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
        /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
        \\\ an exciting new programming language -- http://www.Zimbu.org ///
        \\\ help me help AIDS victims -- http://ICCF-Holland.org ///

        --
        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
      Your message has been successfully submitted and would be delivered to recipients shortly.