Unchangeable inventory/shop keybindings?

Hello, I’ve noticed that my menu’s and shops use Q, E and F for dropping comparing and inspecting even though I thought I’ve changed everything to my custom layout. Today I wanted to finally change those keys but noticed that I actually can’t do that with the in-game key bindings.

Is there some file I can safely fiddle with to make changes to these binds or do I just have to deal with the fact that they are in a very inconvenient place for my regular buttons?