On Thursday, June 26, 2014 11:48:53 AM UTC-5, Jun T. wrote: > 2014/06/26 23:09, Ben Fritz <fritzophre...@gmail.com> wrote: > > > Could this be fixed, by using (l2.lnum - l1.lnum) rather than > > > (l1.lnum - l2.lnum) if lines are equal, when using reverse sort? > > > > Well... the change is easy (see the patch below), but I think the > > current behavior of :sort! is a 'feature', not a bug. Changing > > its behavior will break many existing scripts. > > For example, test57 fails after the patch. > >
Then perhaps, add a new flag to the sort that would enable this behavior? I think the ability to chain sorts together to sort on multiple fields would be a very useful feature. -- -- 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 vim_dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.