From d89da195d2980cf461f318008c040422d8fa0405 Mon Sep 17 00:00:00 2001 From: 10sr <8.slashes@gmail.com> Date: Thu, 9 Jan 2020 18:23:49 +0900 Subject: [PATCH] Update karabiner --- mac/karabiner/terminal-disable.json | 32 +++++++++++++++++++++++++---- 1 file changed, 28 insertions(+), 4 deletions(-) diff --git a/mac/karabiner/terminal-disable.json b/mac/karabiner/terminal-disable.json index 3369899..c898101 100644 --- a/mac/karabiner/terminal-disable.json +++ b/mac/karabiner/terminal-disable.json @@ -2,7 +2,7 @@ "title": "ターミナル設定 https://qiita.com/ottijp/items/392783cef49d3eafca14", "rules": [ { - "description": "かなの無効化", + "description": "かなの迂回", "manipulators": [ { "type": "basic", @@ -10,9 +10,25 @@ "key_code": "lang1", "modifiers": { "mandatory": [], - "optional": [] + "optional": [ + "any" + ] } }, + "to": [ + { + "key_code": "c", + "modifiers": [ + "left_control" + ] + }, + { + "key_code": "m" + }, + { + "key_code": "e" + } + ], "conditions": [ { "type": "frontmost_application_if", @@ -33,7 +49,9 @@ "key_code": "lang2", "modifiers": { "mandatory": [], - "optional": [] + "optional": [ + "any" + ] } }, "to": [ @@ -42,6 +60,12 @@ "modifiers": [ "left_control" ] + }, + { + "key_code": "m" + }, + { + "key_code": "d" } ], "conditions": [ @@ -49,7 +73,7 @@ "type": "frontmost_application_if", "bundle_identifiers": [ "^com\\.apple\\.Terminal$" - ]~~ + ] } ] }