Wednesday, October 18, 2017

Re: visual sort folds

Am 10/18/17 um 11:39 schrieb Ni Va:
> Le mercredi 18 octobre 2017 11:17:47 UTC+2, Christian Brabandt a écrit :
>> On Mi, 18 Okt 2017, Ni Va wrote:
...
>>> Is it possible to visual sort folded code by head's name ?
...
>> Yes and I don't understand what exactly you want to be done.
...
> I wonder if I can sort alphabeticaly folded parts of code by foldername.

I assume, you mean 'sort by the contents of the fold "header" line'?
So I tried this, folded some lines, and while folded did ':sort'.
Is sorted by 'lines', i.e. single lines, not folds.
Sorting 'by fold of same level' would be nice though ;-)

Stucki

--
--
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@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: