summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhineng Li <[email protected]>2025-12-22 11:31:42 +0800
committerZhineng Li <[email protected]>2025-12-22 11:31:42 +0800
commit1d09451b5060012e1e22d0a4d35c9929b161d783 (patch)
tree0753ad8d034b2726bdbcae0a5b4997b0f6050c9f
parent9cef1f1bdbfcd6bce787f27248ed4cce10693dfb (diff)
remove optional keys
-rw-r--r--karabiner/karabiner.json35
1 files 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"