feat: remap esc to capslock

This commit is contained in:
Ryan Yin
2023-12-25 10:22:58 +08:00
parent 0013c9d01e
commit e29f62f228

View File

@@ -94,6 +94,7 @@
WebKitDeveloperExtras = true;
};
"com.apple.finder" = {
AppleShowAllFiles = true;
ShowExternalHardDrivesOnDesktop = true;
ShowHardDrivesOnDesktop = true;
ShowMountedServersOnDesktop = true;
@@ -147,6 +148,15 @@
#
# disabled, caused only problems!
swapLeftCommandAndLeftAlt = false;
userKeyMapping = [
# remap escape to caps lock
# so we swap caps lock and escape, then we can use caps lock as escape
{
HIDKeyboardModifierMappingSrc = 30064771113;
HIDKeyboardModifierMappingDst = 30064771129;
}
];
};
};