From 1d09451b5060012e1e22d0a4d35c9929b161d783 Mon Sep 17 00:00:00 2001 From: Zhineng Li Date: Mon, 22 Dec 2025 11:31:42 +0800 Subject: remove optional keys --- karabiner/karabiner.json | 35 +++++++---------------------------- 1 file changed, 7 insertions(+), 28 deletions(-) diff --git a/karabiner/karabiner.json b/karabiner/karabiner.json index 28275cc..10eaf6c 100644 --- a/karabiner/karabiner.json +++ b/karabiner/karabiner.json @@ -55,10 +55,7 @@ { "from": { "key_code": "1", - "modifiers": { - "mandatory": ["right_option"], - "optional": ["any"] - } + "modifiers": { "mandatory": ["right_option"] } }, "to": { "select_input_source": { "language": "en" } }, "type": "basic" @@ -66,10 +63,7 @@ { "from": { "key_code": "2", - "modifiers": { - "mandatory": ["right_option"], - "optional": ["any"] - } + "modifiers": { "mandatory": ["right_option"] } }, "to": { "select_input_source": { @@ -83,10 +77,7 @@ { "from": { "key_code": "3", - "modifiers": { - "mandatory": ["right_option"], - "optional": ["any"] - } + "modifiers": { "mandatory": ["right_option"] } }, "to": { "select_input_source": { @@ -105,10 +96,7 @@ { "from": { "key_code": "h", - "modifiers": { - "mandatory": ["right_command"], - "optional": ["any"] - } + "modifiers": { "mandatory": ["right_command"] } }, "to": [{ "key_code": "left_arrow" }], "type": "basic" @@ -116,10 +104,7 @@ { "from": { "key_code": "j", - "modifiers": { - "mandatory": ["right_command"], - "optional": ["any"] - } + "modifiers": { "mandatory": ["right_command"] } }, "to": [{ "key_code": "down_arrow" }], "type": "basic" @@ -127,10 +112,7 @@ { "from": { "key_code": "k", - "modifiers": { - "mandatory": ["right_command"], - "optional": ["any"] - } + "modifiers": { "mandatory": ["right_command"] } }, "to": [{ "key_code": "up_arrow" }], "type": "basic" @@ -138,10 +120,7 @@ { "from": { "key_code": "l", - "modifiers": { - "mandatory": ["right_command"], - "optional": ["any"] - } + "modifiers": { "mandatory": ["right_command"] } }, "to": [{ "key_code": "right_arrow" }], "type": "basic" -- cgit v1.2.3