diff --git a/.hammerspoon/init.fnl b/.hammerspoon/init.fnl index be03f23..fbc7da8 100644 --- a/.hammerspoon/init.fnl +++ b/.hammerspoon/init.fnl @@ -12,4 +12,6 @@ (win:move geo nil true)))] (hs.hotkey.bind mash "h" (fn [] (move :left))) (hs.hotkey.bind mash "l" (fn [] (move :right))) - (hs.hotkey.bind mash "m" (fn [] (move :max)))) + (hs.hotkey.bind mash "m" (fn [] (move :max))) + (hs.hotkey.bind [:cmd :alt] "v" (fn [] (hs.eventtap.keyStrokes (hs.pasteboard.getContents))))) + diff --git a/.hammerspoon/init.lua b/.hammerspoon/init.lua index 4e00d88..68fd02e 100644 --- a/.hammerspoon/init.lua +++ b/.hammerspoon/init.lua @@ -3,10 +3,6 @@ table.insert(package.loaders or package.searchers, fennel.searcher) fennel.dofile("init.fnl", { allowedGlobals = false }) --- Defeat paste blocking -- - -hs.hotkey.bind({"cmd", "alt"}, "v", function() hs.eventtap.keyStrokes(hs.pasteboard.getContents()) end) - -- Debugging -- -- hs.hotkey.bind(mash, "d", function()