Add Caps Lock to Escape modifier

There already is "swapescape" which swaps caps lock with escape. I
however don't use Caps Lock and all, and so far have binded it to Escape
on all my systems. I think this can be useful for others as well.
This commit is contained in:
Indrek Juhkam
2020-04-11 13:35:52 +03:00
parent 462ceb578c
commit 3dd930d1e5

View File

@@ -4,6 +4,10 @@ xkb_symbols "swapescape" {
key <ESC> { [ Caps_Lock ] };
};
hidden partial modifier_keys
xkb_symbols "caps_escape" {
key <CAPS> { [ Escape ] };
};
hidden partial modifier_keys
xkb_symbols "caps_shiftlock" {
replace key <CAPS> { [ Shift_Lock ] };
modifier_map Shift { Shift_Lock };