Replies: 9 comments
-
You need to enable it in your [manager]
sort_by = "natural"
sort_transliteration = true Note: I just resubmitted the commit 1ab3df6 and renamed See #1053 for more details. |
Beta Was this translation helpful? Give feedback.
-
I did it before make this issue, and does not yet work properly. |
Beta Was this translation helpful? Give feedback.
-
Weird, it works for me. Could you record a gif to show me your steps? Include the Yazi version, configuration file, and sorting operation. |
Beta Was this translation helpful? Give feedback.
-
The example you show only works because the second letter of words that start with accented letters is further away. ábrahámhttps://termbin.com/l9k8 My config: https://termbin.com/l9k8 |
Beta Was this translation helpful? Give feedback.
-
Is this the correct order? |
Beta Was this translation helpful? Give feedback.
-
No. The correct sequence is always the following regardless of what the second character contains: So: |
Beta Was this translation helpful? Give feedback.
-
This is how I'm not sure if there's a better way to achieve this. |
Beta Was this translation helpful? Give feedback.
-
Accented characters (such as á, é, í, ó, ö, ő, ú, ű) are not equivalent to the unaccented versions. Each language has its own accented characters, and they follow a given rule. |
Beta Was this translation helpful? Give feedback.
-
If different languages have different processing rules, it would be more complex. Currently, Yazi has a built-in character mapping table that simply replaces characters without considering the differences between languages. |
Beta Was this translation helpful? Give feedback.
-
What system are you running Yazi on?
Linux X11
What terminal are you running Yazi in?
st 0.9.1
Did you try the latest code to see if this problem got fixed?
Tried, but the problem still
yazi --debug
outputDescribe the bug
Sort of accented characters does not yet work properly.
Here you can see that it doesn't handle accented characters properly because it actually sorts by the second letter.
Expected Behavior
The correct sequence is always the following regardless of what the second character contains
A....
Á....
...
E
É
...
I
Í
...
O
Ó
Ö
Ő
...
U
Ú
Ü
Ű
...
To Reproduce
Configuration
No response
Anything else?
No response
Beta Was this translation helpful? Give feedback.
All reactions