I am remapping some keys of my keyboard and want to make J, H, L and K keys behave like arrow keys when Scroll-Lock is activated, so I can use Vim-like scrolling in any program.
I am using xmodmap
to remap some keys, but I couldn't have the expected behavior with scroll-lock. How can I do it?