Le mercredi 14 mars 2018 09:31:24 UTC+1, Ni Va a écrit :
> I have done this explained before. Dict that have total time in key and csv
> line in value.
>
>
> Then I can do a reverse(sort( numerical order but I would like to retrieve
> values and the code above retrieve keys sorted.
> so
I have done this explained before. Dict that have total time in key and csv
line in value.
Then I can do a reverse(sort( numerical order but I would like to retrieve
values and the code above retrieve keys sorted.
so I need the last step.
.
.
let line =
On Di, 13 Mär 2018, Ni Va wrote:
> > Oh and BTW: please trim your quotes and write your statement below to
> > what you are referring to.
Please trim your quotes.
Have you tried using a custom compare function similar to what is
written to the help at :h sort()?
BTW: please provide a
On 13.03.18 07:41, Ni Va wrote:
> The csv file attached below it produced from this code particularly by from
> s:results list of strings.
>
> I import it into excel and then do a sort from max to min spent time by third
> column.
>
> I would do the same from this vimscript below on in order
Le mardi 13 mars 2018 14:34:20 UTC+1, Christian Brabandt a écrit :
> On Di, 13 Mär 2018, Ni Va wrote:
>
> > By Total time column for example.
>
> Sorry, I find your answers in general too terse to try to figure out
> what exactly you are trying to do now and I do not feel like guessing.
>
> It
On Di, 13 Mär 2018, Ni Va wrote:
> By Total time column for example.
Sorry, I find your answers in general too terse to try to figure out
what exactly you are trying to do now and I do not feel like guessing.
It looks as you'd like to sort buffer content, while you were saying
before you
Le mardi 13 mars 2018 12:18:31 UTC+1, Christian Brabandt a écrit :
> On Mo, 12 Mär 2018, Ni Va wrote:
>
> > Thanks but it's a list content not a buffer content in my case.
>
> Write a custom Sort Function, that splits() your content and sorts on
> the third field?
>
> BTW: Please provide
On Mo, 12 Mär 2018, Ni Va wrote:
> Thanks but it's a list content not a buffer content in my case.
Write a custom Sort Function, that splits() your content and sorts on
the third field?
BTW: Please provide complete exact examples. Makes it easier to
understand you and test.
Best,
Christian
Le lundi 12 mars 2018 22:19:41 UTC+1, Tim Rice a écrit :
> Personally, I would pipe it through an external command, eg:
>
> :%! sort -n -k3
>
> Within Vim on a Linux box that command results in text roughly like so for
> me:
>
> Bar() 2 0.1320.066
> Foo.set_bar()
Personally, I would pipe it through an external command, eg:
:%! sort -n -k3
Within Vim on a Linux box that command results in text roughly like so for
me:
Bar() 2 0.1320.066
Foo.set_bar() 2 0.2234 0.1117
FooBar.set_foo() 173 6.6418 0.038392
Hi,
I don't happen to sort this kind of list by the third float numbered column.
Foo..ctor() 1 10.4901 10.4901
Bar() 2 0.132 0.066
FooBar.set_foo()173 6.6418 0.038392
Foo.set_bar() 2 0.2234 0.1117
FooBar.Calc() 358 1164.8912 3.253886
--
11 matches
Mail list logo