From 763828ea0be1886d6051daa7349f825cecdfd6a2 Mon Sep 17 00:00:00 2001 From: 10sr <8.slashes@gmail.com> Date: Thu, 9 Jan 2020 15:03:16 +0900 Subject: [PATCH] Add karabiner --- mac/karabiner/terminal-disable.json | 59 +++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 mac/karabiner/terminal-disable.json diff --git a/mac/karabiner/terminal-disable.json b/mac/karabiner/terminal-disable.json new file mode 100644 index 0000000..3369899 --- /dev/null +++ b/mac/karabiner/terminal-disable.json @@ -0,0 +1,59 @@ +{ + "title": "ターミナル設定 https://qiita.com/ottijp/items/392783cef49d3eafca14", + "rules": [ + { + "description": "かなの無効化", + "manipulators": [ + { + "type": "basic", + "from": { + "key_code": "lang1", + "modifiers": { + "mandatory": [], + "optional": [] + } + }, + "conditions": [ + { + "type": "frontmost_application_if", + "bundle_identifiers": [ + "^com\\.apple\\.Terminal$" + ] + } + ] + } + ] + }, + { + "description": "英数の迂回", + "manipulators": [ + { + "type": "basic", + "from": { + "key_code": "lang2", + "modifiers": { + "mandatory": [], + "optional": [] + } + }, + "to": [ + { + "key_code": "c", + "modifiers": [ + "left_control" + ] + } + ], + "conditions": [ + { + "type": "frontmost_application_if", + "bundle_identifiers": [ + "^com\\.apple\\.Terminal$" + ]~~ + } + ] + } + ] + } + ] +}