forked from thoughtbot/dotfiles
-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9348305
commit 733f43a
Showing
2 changed files
with
142 additions
and
142 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,134 +1,134 @@ | ||
{ | ||
"profiles": [ | ||
{ | ||
"complex_modifications": { | ||
"rules": [ | ||
{ | ||
"description": "漢字を esc に変換", | ||
"manipulators": [ | ||
{ | ||
"from": { "key_code": "grave_accent_and_tilde" }, | ||
"to": [{ "key_code": "escape" }], | ||
"type": "basic" | ||
} | ||
] | ||
}, | ||
{ | ||
"description": "英数+hjklで移動", | ||
"manipulators": [ | ||
{ | ||
"from": { | ||
"key_code": "japanese_eisuu", | ||
"modifiers": { "optional": ["any"] } | ||
}, | ||
"to": [ | ||
{ | ||
"set_variable": { | ||
"name": "vk1", | ||
"value": 1 | ||
} | ||
} | ||
], | ||
"to_after_key_up": [ | ||
{ | ||
"set_variable": { | ||
"name": "vk1", | ||
"value": 0 | ||
} | ||
} | ||
], | ||
"to_if_alone": [{ "key_code": "japanese_eisuu" }], | ||
"type": "basic" | ||
}, | ||
{ | ||
"conditions": [ | ||
{ | ||
"name": "vk1", | ||
"type": "variable_if", | ||
"value": 1 | ||
} | ||
], | ||
"from": { | ||
"key_code": "h", | ||
"modifiers": { "optional": ["any"] } | ||
}, | ||
"to": [{ "key_code": "left_arrow" }], | ||
"type": "basic" | ||
}, | ||
{ | ||
"conditions": [ | ||
{ | ||
"name": "vk1", | ||
"type": "variable_if", | ||
"value": 1 | ||
} | ||
], | ||
"from": { | ||
"key_code": "j", | ||
"modifiers": { "optional": ["any"] } | ||
}, | ||
"to": [{ "key_code": "down_arrow" }], | ||
"type": "basic" | ||
}, | ||
{ | ||
"conditions": [ | ||
{ | ||
"name": "vk1", | ||
"type": "variable_if", | ||
"value": 1 | ||
} | ||
], | ||
"from": { | ||
"key_code": "k", | ||
"modifiers": { "optional": ["any"] } | ||
}, | ||
"to": [{ "key_code": "up_arrow" }], | ||
"type": "basic" | ||
}, | ||
{ | ||
"conditions": [ | ||
{ | ||
"name": "vk1", | ||
"type": "variable_if", | ||
"value": 1 | ||
} | ||
], | ||
"from": { | ||
"key_code": "l", | ||
"modifiers": { "optional": ["any"] } | ||
}, | ||
"to": [{ "key_code": "right_arrow" }], | ||
"type": "basic" | ||
} | ||
] | ||
}, | ||
{ | ||
"description": "Ctrl-M を Enter に変換", | ||
"manipulators": [ | ||
{ | ||
"from": { | ||
"key_code": "m", | ||
"modifiers": { | ||
"mandatory": ["control"], | ||
"optional": ["left_shift", "left_option", "left_command"] | ||
} | ||
}, | ||
"to": [{ "key_code": "return_or_enter" }], | ||
"type": "basic" | ||
} | ||
] | ||
"profiles": [ | ||
{ | ||
"complex_modifications": { | ||
"rules": [ | ||
{ | ||
"description": "漢字を esc に変換", | ||
"manipulators": [ | ||
{ | ||
"from": { "key_code": "grave_accent_and_tilde" }, | ||
"to": [{ "key_code": "escape" }], | ||
"type": "basic" | ||
} | ||
] | ||
}, | ||
{ | ||
"description": "英数+hjklで移動", | ||
"manipulators": [ | ||
{ | ||
"from": { | ||
"key_code": "japanese_eisuu", | ||
"modifiers": { "optional": ["any"] } | ||
}, | ||
"to": [ | ||
{ | ||
"set_variable": { | ||
"name": "vk1", | ||
"value": 1 | ||
} | ||
} | ||
], | ||
"to_after_key_up": [ | ||
{ | ||
"set_variable": { | ||
"name": "vk1", | ||
"value": 0 | ||
} | ||
] | ||
}, | ||
"name": "Default profile", | ||
"selected": true, | ||
"simple_modifications": [ | ||
{ | ||
"from": { "key_code": "caps_lock" }, | ||
"to": [{ "key_code": "left_control" }] | ||
} | ||
], | ||
"virtual_hid_keyboard": { "keyboard_type_v2": "jis" } | ||
} | ||
], | ||
"to_if_alone": [{ "key_code": "japanese_eisuu" }], | ||
"type": "basic" | ||
}, | ||
{ | ||
"conditions": [ | ||
{ | ||
"name": "vk1", | ||
"type": "variable_if", | ||
"value": 1 | ||
} | ||
], | ||
"from": { | ||
"key_code": "h", | ||
"modifiers": { "optional": ["any"] } | ||
}, | ||
"to": [{ "key_code": "left_arrow" }], | ||
"type": "basic" | ||
}, | ||
{ | ||
"conditions": [ | ||
{ | ||
"name": "vk1", | ||
"type": "variable_if", | ||
"value": 1 | ||
} | ||
], | ||
"from": { | ||
"key_code": "j", | ||
"modifiers": { "optional": ["any"] } | ||
}, | ||
"to": [{ "key_code": "down_arrow" }], | ||
"type": "basic" | ||
}, | ||
{ | ||
"conditions": [ | ||
{ | ||
"name": "vk1", | ||
"type": "variable_if", | ||
"value": 1 | ||
} | ||
], | ||
"from": { | ||
"key_code": "k", | ||
"modifiers": { "optional": ["any"] } | ||
}, | ||
"to": [{ "key_code": "up_arrow" }], | ||
"type": "basic" | ||
}, | ||
{ | ||
"conditions": [ | ||
{ | ||
"name": "vk1", | ||
"type": "variable_if", | ||
"value": 1 | ||
} | ||
], | ||
"from": { | ||
"key_code": "l", | ||
"modifiers": { "optional": ["any"] } | ||
}, | ||
"to": [{ "key_code": "right_arrow" }], | ||
"type": "basic" | ||
} | ||
] | ||
}, | ||
{ | ||
"description": "Ctrl-M を Enter に変換", | ||
"manipulators": [ | ||
{ | ||
"from": { | ||
"key_code": "m", | ||
"modifiers": { | ||
"mandatory": ["control"], | ||
"optional": ["left_shift", "left_option", "left_command"] | ||
} | ||
}, | ||
"to": [{ "key_code": "return_or_enter" }], | ||
"type": "basic" | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
"name": "Default profile", | ||
"selected": true, | ||
"simple_modifications": [ | ||
{ | ||
"from": { "key_code": "caps_lock" }, | ||
"to": [{ "key_code": "left_control" }] | ||
} | ||
] | ||
} | ||
], | ||
"virtual_hid_keyboard": { "keyboard_type_v2": "jis" } | ||
} | ||
] | ||
} |