I am trying to map Ctrl+H,J,K,L to arrow keys Left,Down,Up,Right, respectively, on Ubuntu OS (globally, not inside Vim).
I've attempted the solution posted here, but the modifier commands are not working. Here is what I am trying:
xmodmap -e "keycode 45 Control_L = k Up" xmodmap -e "keycode 45 control = k Up"
(keycode 45 maps to
Neither commands work. (They give no errors, but Ctrl+K is not remapped to Up Arrow)
Is there a way to do this xmodmap, and if not, is there a cleaner workaround?
Edit: I have found my answer here - thanks to swift