.hammerspoon/init.lua

changeset 500
efce0f59ef14
parent 495
31fc84fa156c
child 520
a6a39c406585
--- a/.hammerspoon/init.lua
+++ b/.hammerspoon/init.lua
@@ -39,9 +39,14 @@ cmdCtrl('right', function () focusedWind
 
 cmd('return', function ()
   hs.applescript.applescript([[
-    tell application "iTerm2"
+    tell application "iTerm"
       create window with default profile
+      activate
     end tell
   ]])
 end)
 
+-- cache window frames before moving?
+-- save cache?
+-- focus by direction is a little strict
+

mercurial