hammerspoon and karabiner Change hotkey,
authorPeng Li <seudut@gmail.com>
Tue, 26 Sep 2017 10:35:45 +0000 (18:35 +0800)
committerPeng Li <seudut@gmail.com>
Tue, 26 Sep 2017 18:30:49 +0000 (02:30 +0800)
config/karabiner/karabiner.json
hammerspoon/init.lua

index 036161f..1f2d672 100644 (file)
@@ -31,7 +31,8 @@
             },
             "standalone_keys": {
                 "caps_lock": "escape",
-                "right_command": "escape"
+                "right_command": "escape",
+                "left_control": "escape"
             },
             "virtual_hid_keyboard": {
                 "caps_lock_delay_milliseconds": 0,
index 2228bdc..17b54c3 100644 (file)
@@ -117,7 +117,7 @@ function move_window(direction)
     end
 end
  
-local hyper = {"ctrl", "alt"}
+local hyper = {"ctrl", "cmd"}
 hs.hotkey.bind(hyper, "h", move_window("left"))
 hs.hotkey.bind(hyper, "l", move_window("right"))
 hs.hotkey.bind(hyper, "k", move_window("up"))