Improve "G" function to return from playlist to the appropriate directory

Forums:

MOC version: 
2.5.0

The directory must be open in the file list window. Is it possible to implement this?

And thank you very much for this player, it is not only lightweight and convenient, but have the highest audio quality!

I agree that behaviour of key "G" in MOC is a bit inconsistent (or counter-intuitive).

In my personal version I changed it a bit: https://gitlab.com/tomaszg/mocp/-/commit/4a64cd2465219a376daa3c91afe67ad4f2ad8342 In this way, G never changes the pane and tries to jump within the currently active pane. It's not exactly what you wanted but it would be trivial to change the behaviour or make it dependant on a configuration option.

Thank you!
Although i'm not a programmer, the code looks transparent enough to try to do as i need.