Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add keyboard shortcut for reloading hammerspoon
  • Loading branch information
yuku committed May 30, 2017
1 parent 3944df5 commit 4a20b86
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions hammerspoon/config_reloading.lua
@@ -0,0 +1,6 @@
-- Configuration reloading
-- See http://www.hammerspoon.org/go/#simple-configuration-reloading
hs.hotkey.bind({"cmd", "alt", "ctrl"}, "R", function ()
hs.reload()
end)
hs.alert.show("Config loaded")
1 change: 1 addition & 0 deletions hammerspoon/init.lua
Expand Up @@ -5,3 +5,4 @@ hs.window.animationDuration = 0
require("app_launcher")
require("global_keymap")
require("windows_manipulation")
require("config_reloading")

0 comments on commit 4a20b86

Please sign in to comment.