From 14738e9d3f84eb67bd853218bafd6d86caccf17b Mon Sep 17 00:00:00 2001 From: Dan Barber Date: Sun, 26 Nov 2017 20:31:01 -0600 Subject: [PATCH] =?UTF-8?q?Add=20hyper=20key=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/karabiner/karabiner.json | 78 +++++++++++++++++++++++++++++++-- 1 file changed, 74 insertions(+), 4 deletions(-) diff --git a/config/karabiner/karabiner.json b/config/karabiner/karabiner.json index 8722a74..ca00ea7 100644 --- a/config/karabiner/karabiner.json +++ b/config/karabiner/karabiner.json @@ -12,6 +12,32 @@ "basic.to_if_alone_timeout_milliseconds": 1000 }, "rules": [ + { + "description": "Change right option into hyper key", + "manipulators": [ + { + "from": { + "key_code": "right_option", + "modifiers": { + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "right_shift", + "modifiers": [ + "right_command", + "right_control", + "right_option" + ] + } + ], + "type": "basic" + } + ] + }, { "description": "Change Fn + h/j/k/l to Arrows", "manipulators": [ @@ -105,7 +131,10 @@ ], "optional": [ "caps_lock", - "shift" + "shift", + "command", + "option", + "control" ] } }, @@ -122,7 +151,10 @@ "modifiers": { "optional": [ "caps_lock", - "shift" + "shift", + "command", + "option", + "control" ] } }, @@ -139,7 +171,10 @@ "modifiers": { "optional": [ "caps_lock", - "shift" + "shift", + "command", + "option", + "control" ] } }, @@ -176,6 +211,32 @@ } } ] + }, + { + "disable_built_in_keyboard_if_exists": false, + "fn_function_keys": [], + "identifiers": { + "is_keyboard": true, + "is_pointing_device": false, + "product_id": 24672, + "vendor_id": 65261 + }, + "ignore": true, + "manipulate_caps_lock_led": false, + "simple_modifications": [] + }, + { + "disable_built_in_keyboard_if_exists": false, + "fn_function_keys": [], + "identifiers": { + "is_keyboard": true, + "is_pointing_device": false, + "product_id": 34304, + "vendor_id": 1452 + }, + "ignore": true, + "manipulate_caps_lock_led": true, + "simple_modifications": [] } ], "fn_function_keys": [ @@ -278,7 +339,16 @@ ], "name": "Default profile", "selected": true, - "simple_modifications": [], + "simple_modifications": [ + { + "from": { + "key_code": "right_option" + }, + "to": { + "key_code": "right_option" + } + } + ], "virtual_hid_keyboard": { "caps_lock_delay_milliseconds": 0, "keyboard_type": "iso"