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

Re: Sorting multiple "sections"

Expand Messages
  • Marcin Szamotulski
    ... It is documented under ... see the first paragraph under the list on which you land with the above command. Best, Marcin -- -- You received this message
    Message 1 of 5 , Feb 7, 2013
    • 0 Attachment
      On 10:58 Thu 07 Feb , Paul wrote:
      > On Friday, 01 February, 2013 at 06:40:44 GMT, Christian Brabandt wrote:
      > >> What I need to do is figure the most efficient way to sort each list
      > >> in each section alphabetically.
      > >
      > >You can combine a :g command with the sort command, e.g. something like
      > >this:
      > >:g/^-\+$/+2;'}-sort
      >
      > Where’s the “-” in “-sort” documented? Ie. How did you know you could do that? :)
      >
      > --
      >
      > .
      >
      > --
      > --
      > You received this message from the "vim_use" 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_use" group.
      > To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@....
      > For more options, visit https://groups.google.com/groups/opt_out.
      >

      It is documented under
      :help :range
      see the first paragraph under the list on which you land with the above
      command.

      Best,
      Marcin

      --
      --
      You received this message from the "vim_use" 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_use" group.
      To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@....
      For more options, visit https://groups.google.com/groups/opt_out.
    • Paul
      ... Ah, I see. Thanks. -- . -- -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are replying to.
      Message 2 of 5 , Feb 7, 2013
      • 0 Attachment
        On Thursday, 07 February, 2013 at 11:19:02 GMT, Marcin Szamotulski wrote:
        >> >You can combine a :g command with the sort command, e.g. something like
        >> >this:
        >> >:g/^-\+$/+2;'}-sort
        >>
        >> Where’s the “-” in “-sort” documented? Ie. How did you know you could do that? :)
        >
        >It is documented under
        > :help :range
        >see the first paragraph under the list on which you land with the above
        >command.

        Ah, I see. Thanks.

        --

        .

        --
        --
        You received this message from the "vim_use" 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_use" group.
        To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@....
        For more options, visit https://groups.google.com/groups/opt_out.
      Your message has been successfully submitted and would be delivered to recipients shortly.