I can already remap Caps Lock key to Escape:
setxkbmap -option caps: Escape
To enjoy full Vim functionality, it would also be good to map Ctrl to Caps Lock, when key holding.
This is a common topic outside of Qubes OS, but I would like to discuss this feature in light of
dom0 and security aspects in particular: what is the most minimal and secure way?
Ideally, no binary installation is required to minimize
dom0 attack surface.
In the past I have successfully used xcape with GNOME. But manual compilation and binary placement in
dom0 is necessary.
Hence I’m curious: Which variant do Qubes users like most?