feat: remap esc to capslock

This commit is contained in:
Ryan Yin
2023-12-25 10:22:58 +08:00
parent 0013c9d01e
commit e29f62f228
+10
View File
@@ -94,6 +94,7 @@
WebKitDeveloperExtras = true; WebKitDeveloperExtras = true;
}; };
"com.apple.finder" = { "com.apple.finder" = {
AppleShowAllFiles = true;
ShowExternalHardDrivesOnDesktop = true; ShowExternalHardDrivesOnDesktop = true;
ShowHardDrivesOnDesktop = true; ShowHardDrivesOnDesktop = true;
ShowMountedServersOnDesktop = true; ShowMountedServersOnDesktop = true;
@@ -147,6 +148,15 @@
# #
# disabled, caused only problems! # disabled, caused only problems!
swapLeftCommandAndLeftAlt = false; 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;
}
];
}; };
}; };