39 |
39 |
40 cmd('return', function () |
40 cmd('return', function () |
41 hs.applescript.applescript([[ |
41 hs.applescript.applescript([[ |
42 tell application "iTerm" |
42 tell application "iTerm" |
43 set newterm to (create window with default profile) |
43 set newterm to (create window with default profile) |
44 tell newterm to activate |
44 activate window newterm |
45 end tell |
45 end tell |
46 ]]) |
46 ]]) |
47 end) |
47 end) |
48 |
48 |
49 cmdShift('return', function () os.execute('/opt/local/bin/mvim') end) |
49 cmdShift('return', function () os.execute('/opt/local/bin/mvim') end) |