From d4d9fb0a07bdc6a0b99ff4af966d8cbd3aa1a71e Mon Sep 17 00:00:00 2001 From: Peng Li Date: Tue, 26 Sep 2017 18:35:45 +0800 Subject: [PATCH] hammerspoon and karabiner Change hotkey, --- config/karabiner/karabiner.json | 3 ++- hammerspoon/init.lua | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/config/karabiner/karabiner.json b/config/karabiner/karabiner.json index 036161f..1f2d672 100644 --- a/config/karabiner/karabiner.json +++ b/config/karabiner/karabiner.json @@ -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, diff --git a/hammerspoon/init.lua b/hammerspoon/init.lua index 2228bdc..17b54c3 100644 --- a/hammerspoon/init.lua +++ b/hammerspoon/init.lua @@ -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")) -- 2.11.0