nix-tree
nix-tree copied to clipboard
Feature request: display bindings in the lower right corner of `nix-tree`.
It's rather complicated to find the menu if you are not aware of its existence. Therefore I propose that we add shortcuts which could hint at the existence of such menu in the lower right corner of nix-tree.
Something similar to gitui's approach could prove to be helpful: (forgive the horrible theming)

I think this is a great idea, we can just sacrifice one line at the bottom and make it much more discoverable. This would also make the current help modal redundant. It also seems pretty easy to implement, so I think this will be my next priority :).
Thanks again :).
Glad to help out! I'll make sure to update this thread if I ever come up with a better idea! :)
Update: I have a prototype implementation:
However it doesn't look that pretty. I feel like as rest of the application doesn't use the colors and background very prominently, the new menubar is too focused to my liking.
I'll play around with different colours to see if I'll find something that fits the rest of the app better.
That looks like a good start!
Also, allowing the user to customize the colorscheme of the menu would be more appropriate in my opinion. People use different colorschemes and having one hard-coded theme is not usually desirable.
Config file could be a .yaml, .conf, .dhall file or whatever filetype you deem appropriate for this minor customization!