Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
calmarc opened this issue Mar 24, 2024 · 2 comments · Fixed by #1872
Closed

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

calmarc opened this issue Mar 24, 2024 · 2 comments · Fixed by #1872
Labels

Comments

@calmarc
Copy link

calmarc commented Mar 24, 2024

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?

@calmarc calmarc added the bug label Mar 24, 2024
@jarun
Copy link
Owner

jarun commented Mar 24, 2024

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

@jarun jarun closed this as completed Mar 24, 2024
@jarun jarun added question and removed bug labels Mar 24, 2024
@artkpv
Copy link

artkpv commented Apr 23, 2024

@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:

  • Expand those abbreviations when we press 't' or
  • Write full names in man nnn

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

N-R-K added a commit to N-R-K/nnn that referenced this issue Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants