Customize Info Window
It could be helpful to make the infowindow keydisplay customizable. Currently, it's not very helpful if you are to make new bindings for what's displayed in it.
Probably just having it as a settings.json variable would be fine.
https://github.com/zyedidia/micro/blob/219fb12482055312b29aa35007d0bb33ef918f30/internal/display/infowindow.go#L181
There is already a note to build this dynamically: https://github.com/zyedidia/micro/blob/219fb12482055312b29aa35007d0bb33ef918f30/internal/display/infowindow.go#L184
Unfortunately it has not a high priority, since there are a lot of more tasks to do.
Hey, I've been getting more and more interested by this project and I'm thinking about trying to contribute and I think that this issue, even though it's not high priority might be a good starting point for a new contributor.
I'm just wondering, if we want to do it dynamically what would be the desired outcome (like do we want to display all bindings, or simply the keys for the shown actions in the keydisplay variable? It would also be useful to be able to show some custom bindings)
I'm just wondering, if we want to do it dynamically what would be the desired outcome (like do we want to display all bindings, or simply the keys for the shown actions in the keydisplay variable? It would also be useful to be able to show some custom bindings)
I don't think that we then still need keydisplay. I recommend to have a look at config.Bindings["buffer"].
From my perspective we should add a configurable string to the settings, so the user can configure for which keys the respective action shall be displayed or the other way around.
With the activation of this bindings-display we can prepare the dynamic list based on the keys or actions to search within the config.Bindings["buffer"].