37 cmdCtrl('left', function () focusedWindow():moveOneScreenWest() end) |
37 cmdCtrl('left', function () focusedWindow():moveOneScreenWest() end) |
38 cmdCtrl('right', function () focusedWindow():moveOneScreenEast() end) |
38 cmdCtrl('right', function () focusedWindow():moveOneScreenEast() end) |
39 |
39 |
40 cmd('return', function () |
40 cmd('return', function () |
41 hs.applescript.applescript([[ |
41 hs.applescript.applescript([[ |
42 tell application "iTerm2" |
42 tell application "iTerm" |
43 create window with default profile |
43 create window with default profile |
|
44 activate |
44 end tell |
45 end tell |
45 ]]) |
46 ]]) |
46 end) |
47 end) |
47 |
48 |
|
49 -- cache window frames before moving? |
|
50 -- save cache? |
|
51 -- focus by direction is a little strict |
|
52 |