mac keyboard

This commit is contained in:
2026-07-28 00:45:32 +09:00
parent c2a5e174b9
commit 6f4f048f4c
4 changed files with 54 additions and 3 deletions
+29
View File
@@ -0,0 +1,29 @@
{
system.keyboard = {
enableKeyMapping = true;
userKeyMapping = [
{
# Caps Lock → left Command
HIDKeyboardModifierMappingSrc = 30064771129;
HIDKeyboardModifierMappingDst = 30064771299;
}
];
};
system.defaults = {
NSGlobalDomain."com.apple.keyboard.fnState" = true;
# These are the standard macOS App Shortcuts for all applications. Keep
# both English and Japanese menu titles so they work after changing the
# macOS display language.
CustomUserPreferences.NSGlobalDomain.NSUserKeyEquivalents = {
"Close" = "~q";
"Close Window" = "~q";
"閉じる" = "~q";
"ウインドウを閉じる" = "~q";
"Zoom" = "~f";
"拡大/縮小" = "~f";
"拡大/縮小" = "~f";
};
};
}