If anyone is interested, a solution that seems to work on Windows is AutoHotkey. Here's an example: I'd like to map the h, j, k and l keys to the arrows (like Vim), but only for vlc.exe. I use the following configuration file: #IfWinActive ahk_exe vlc.exe h::send, {left} ; Makes the 'h' key send a l...