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 the views alphabetically #11

Open
nicolas-goudry opened this issue Apr 12, 2024 · 2 comments
Open

Sort the views alphabetically #11

nicolas-goudry opened this issue Apr 12, 2024 · 2 comments

Comments

@nicolas-goudry
Copy link

It would be great if views were sorted alphabetically. Searching visually for an attribute would be far much easier (I know there is the search feature, but still).

@nicolas-goudry
Copy link
Author

nicolas-goudry commented Apr 12, 2024

To further advocate for this feature, since the search feature doesn’t allow to navigate between results, it would ease the process.

As an example, my config.environment list is the following (shortened):

sessionVariables
systemPackages
etc
enableDebugInfo
...
gnome
lxqt
profileRelativeSessionVariables
profileRelativeEnvVars
profiles
...
gnome3
blcr
checkConfigurationOptions

In this case, if I search for gno the gnome entry will be highlighted. However, as a vim user I would expect to Enter and get the n / N key to move between results. I understand that when I hit Enter it will enter the current match, so having an alphabetical sort would allow me to just hit Esc (to exit search mode) followed by j to highlight gnome3 and be able to enter it quickly.

@bluskript
Copy link
Owner

I agree that sorting the attrset alphabetically might make more sense. FYI, the "go-to path" functionality supports tab completion and might help with moving through results in the meantime. Search doesn't do this for now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants