jarun / nnn

n³ The unorthodox terminal file manager
BSD 2-Clause "Simplified" License
18.51k stars 743 forks source link

sort order.... whatever it means.. #1855

Closed calmarc closed 3 months ago

calmarc commented 3 months ago

sort order keys: 'a'u / 'd'u / 'e'xtension / 'r'everse / 's'ize / 't'ime / 'v'ersion capitalize to reverse (except 'r')

and that means??? for God's sake? What means a'u? d'u? .. is it that hard to be clear in a manual?

jarun commented 3 months ago

It's in the wiki. You should be willing to read it. Also, au and du are pretty standard terms though you seem unfamiliar.

Program options, 4th Note: https://github.com/jarun/nnn/wiki/Usage#program-options

artkpv commented 2 months ago

@jarun Thanks for the answer and for this great tool, nnn. I use it a lot. Still I agree with the issue opener in that I also found it confusing. When I press t, it shows me 'a'u/'d'u/'e'xt/'r'ev/'s'z/'t'm/'v'er/'c'lr/'^T'?. nnn is v4.9. In man nnn, I found

     -T key
             sort order
             keys: 'a'u / 'd'u / 'e'xtension / 'r'everse / 's'ize / 't'ime / 'v'ersion
             capitalize to reverse (except 'r')
...
         NOTE: Sort keys can be a/d/e/r/s/t/v (see program option -T).
               Capitalize to reverse (except 'r').

which misses 'c'lr and '^T', it doesn't answer what is 'a'u, 'd'u

At https://github.com/jarun/nnn/wiki/Usage#program-options, I read

The keys for option -T are apparent disk usage / disk usage / extension / revision / size / time / version. Capitalize to reverse (except r).

which clears the latter two questions, 'a'u, 'd'u.

So I guess we might improve it by:

Going to github wiki might be overhead for such a tiny thing. Thanks