Currently running Antergos Linux. The set-up I would like to have is the following.
Pressing and releasing CAPS sends ESC.
The combinations of CAPS and any of CAPS+h, CAPS+j, CAPS+k, CAPS+l send Left, Down, Up, and Right respectively. Upon release of CAPS, ESC is not sent.
Of course, the goal here is to get some VIM-style bindings in programs which do not have them.
It seems that xcape would be useful here:
https://github.com/alols/xcape
But the examples do not get me quite as far as I would like.
Any help is appreciated.
EDIT: I came across a very useful answer here:
https://unix.stackexchange.com/a/163675/267068
Can anybody help me figure how to modify the procedure so that I get CAPS+hjkl as needed. Could I use Hyper_L, instead of the Super_L in that answer, and then map Hyper_L + hjkl to left, down, up, right?