After watching some videos about
vim collaboration I wanna remap Caps Lock on my ubuntu.
Remapping Caps Lock to Esc is easy I used
gnome-tweak-tool, but now I wanna change Caps Lock behavior to work as Esc and Ctrl in some situations.
When I use only Caps Lock it works like Esc. When I use Caps Lock with some other key it works like Ctrl +something. How do I do that?