Thursday, September 13, 2012

Re: How to ONLY sort part of a file and keep the format?



On Fri, Sep 14, 2012 at 9:15 AM, Bee <forth@calcentral.com> wrote:
> I think, this will do:
> :v/^^I/.,/^^I/-sort
> where ^I is a literal tab.
>
> It also works using  \t  rather than the literal tab (^I):
> :v/^\t/.,/^\t/-sort

Either way I get:
  E16: Invalid range
remove all empty lines. :-)
But the sort works!
 
Bill

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

No comments: