.hammerspoon/init.lua

changeset 648
2918ff726641
parent 644
42383cfcb729
child 705
7520062c1461
equal deleted inserted replaced
647:eabafa02cdb2 648:2918ff726641
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)

mercurial