最初に操作のしやすさに関わる入力周りを設定する。
キーマップを変更しないと使いづらくてしかたないので、Karabiner-Elementsから。
あまり他の人の参考にはならない気がする。
{
"title": "Original keymaps",
"maintainers": [
"Masapyon"
],
"rules": [
{
"description": "Change caps_lock to fn",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "caps_lock",
"modifiers": {
"optional": ["any"]
}
},
"to": [
{
"key_code": "fn"
}
]
}
]
},
{
"description": "Change fn to left_command",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "fn",
"modifiers": {
"optional": ["any"]
}
},
"to": [
{
"key_code": "left_command"
}
]
}
]
},
{
"description": "Change left_command to f7",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "left_command"
},
"to": [
{
"key_code": "f7"
}
]
}
]
},
{
"description": "Change fn+ijkl to arrow keys",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "i",
"modifiers": { "mandatory": [ "fn" ],
"optional": ["any"]
}
},
"to": [
{
"key_code": "up_arrow"
}
]
},
{
"type": "basic",
"from": {
"key_code": "j",
"modifiers": { "mandatory": [ "fn" ],
"optional": ["any"]
}
},
"to": [
{
"key_code": "left_arrow"
}
]
},
{
"type": "basic",
"from": {
"key_code": "k",
"modifiers": { "mandatory": [ "fn" ],
"optional": ["any"]
}
},
"to": [
{
"key_code": "down_arrow"
}
]
},
{
"type": "basic",
"from": {
"key_code": "l",
"modifiers": { "mandatory": [ "fn" ],
"optional": ["any"]
}
},
"to": [
{
"key_code": "right_arrow"
}
]
}
]
},
{
"description": "Change fn+` to Esc",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "grave_accent_and_tilde",
"modifiers": { "mandatory": [ "fn" ],
"optional": ["any"]
}
},
"to": [
{
"key_code": "escape"
}
]
}
]
},
{
"description": "Change fn+1~90-= to f1~f9f10f11f12",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "1",
"modifiers": { "mandatory": [ "fn" ],
"optional": ["any"]
}
},
"to": [
{
"key_code": "f1"
}
]
},
{
"type": "basic",
"from": {
"key_code": "2",
"modifiers": { "mandatory": [ "fn" ],
"optional": ["any"]
}
},
"to": [
{
"key_code": "f2"
}
]
},
{
"type": "basic",
"from": {
"key_code": "3",
"modifiers": { "mandatory": [ "fn" ],
"optional": ["any"]
}
},
"to": [
{
"key_code": "f3"
}
]
},
{
"type": "basic",
"from": {
"key_code": "4",
"modifiers": { "mandatory": [ "fn" ],
"optional": ["any"]
}
},
"to": [
{
"key_code": "f4"
}
]
},
{
"type": "basic",
"from": {
"key_code": "5",
"modifiers": { "mandatory": [ "fn" ],
"optional": ["any"]
}
},
"to": [
{
"key_code": "f5"
}
]
},
{
"type": "basic",
"from": {
"key_code": "6",
"modifiers": { "mandatory": [ "fn" ],
"optional": ["any"]
}
},
"to": [
{
"key_code": "f6"
}
]
},
{
"type": "basic",
"from": {
"key_code": "7",
"modifiers": { "mandatory": [ "fn" ],
"optional": ["any"]
}
},
"to": [
{
"key_code": "f7"
}
]
},
{
"type": "basic",
"from": {
"key_code": "8",
"modifiers": { "mandatory": [ "fn" ],
"optional": ["any"]
}
},
"to": [
{
"key_code": "f8"
}
]
},
{
"type": "basic",
"from": {
"key_code": "9",
"modifiers": { "mandatory": [ "fn" ],
"optional": ["any"]
}
},
"to": [
{
"key_code": "f9"
}
]
},
{
"type": "basic",
"from": {
"key_code": "0",
"modifiers": { "mandatory": [ "fn" ],
"optional": ["any"]
}
},
"to": [
{
"key_code": "f10"
}
]
},
{
"type": "basic",
"from": {
"key_code": "hyphen",
"modifiers": { "mandatory": [ "fn" ],
"optional": ["any"]
}
},
"to": [
{
"key_code": "f11"
}
]
},
{
"type": "basic",
"from": {
"key_code": "equal_sign",
"modifiers": { "mandatory": [ "fn" ],
"optional": ["any"]
}
},
"to": [
{
"key_code": "f12"
}
]
}
]
},
{
"description": "Change fn+space to left_control+spacebar",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "spacebar",
"modifiers": { "mandatory": [ "fn" ],
"optional": ["any"]
}
},
"to": [
{
"key_code": "spacebar",
"modifiers" : [ "left_control" ]
}
]
}
]
},
{
"description": "Change right_shift to right_ctrl",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "right_shift",
"modifiers": {
"optional": ["any"]
}
},
"to": [
{
"key_code": "right_control"
}
]
}
]
},
{
"description": "Change f24 to left_command",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "f24",
"modifiers": {
"optional": ["any"]
}
},
"to": [
{
"key_code": "left_command"
}
]
}
]
},
{
"description": "Change f23 to right_shift",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "f23",
"modifiers": {
"optional": ["any"]
}
},
"to": [
{
"key_code": "right_shift"
}
]
}
]
},
{
"description": "Change fn+f to Ctrl+b",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "f",
"modifiers": {
"mandatory": [ "fn" ],
"optional": ["any"]
}
},
"to": [
{
"key_code": "b",
"modifiers" : [ "left_control" ]
}
]
}
]
}
]
}