On Fri, November 19, 2010 7:34 am, [email protected] wrote: > setup l-NameOfAParameter value1 > setup r-NameOfAParameter value2 > intro l-NameOfAnotherParameter value3 > intro r-NameOfAnotherParameter value4 > physics l-NameOfASecondParameter value5 > physics r-NameOfASecondParameter value6 > optics l-NameOfAtPThirdecondParameter value7 > optics r-NameOfAtPThirdecondParameter value8 > > (value<n>: Floating point numbers, first row: description (one word)) > > > unfortunately they are completly unsorted. > > How can I acchieve a sort order like that above: Important is > the second rows. Anything else can be ignored (in a first step).
I assume you mean column? > In the second row, the "l-" and "r-" in the beginning should be s/row/column/ > ignored and the rest of the parameter name should be taken for an > alphatical sort order. The whole lines should be moved. > > Any idea to do this with vimware alone ? Second choice would > be to use unix-tools. something like this: :%sort /^\w\+\s\+[rl]-\zs\S\+/r regards, Christian -- 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
