[TreeBrowser] Allow right arrow key to open files
I was wondering if it would be considered to add a setting that would allow your Right Arrow key to open items under the cursor/highlight.
Right Arrow on folders = expand folder (current behavior)
Right Arrow on files = open that file in Geany tab
(which is the same action as when you hit Enter key, but a little more convenient because hand is already on arrow key section of keyboard)
Thank You
I was wondering, does anyone know if this the proper location to make a request for the TreeBrowser plugin?
Thank You
It is the right place.
I just added it in #1480 as it is quite simple.
Wow, I randomly just checked this post, this was a surprise. Thank you for adding this, I did not think anyone was going to agree with this. I think this kind of hotkey behavior should be used in all programs, very happy to see that you agreed enough to make this update. Just wish I had access to all of these great Geany and Geany plugin updates right now. Eventually going to have to see if I can be successful at trying to compile them properly. Anyways, thank you again for this update
I'd like to add my point of view on this one, as I don't find it is a good idea. I haven't (yet) seen editors¹ using cursor navigation to open files but require pressing the Enter key to confirm a voluntary act (so I assume). It's easy to involuntarily open a file because keyboard ergonomics is extremely variable and you can easily miss a key. Whereas the Enter (or Return) key is significantly larger than a regular key (most of the time, or at least it has a distinct shape or size that make it easily recognisable). While no damage can result from expanding a folder/directory in a tree view, opening a file by accident is not so innocuous, so be careful with that axe, Eugene.
¹ I must also confess I only know a small portion of the entire offer.