# HG changeset patch # User Meredith Howard # Date 1678380964 21600 # Node ID 68ed15b14844d5c2785261397966199d5eba939c # Parent e76020af023dbe1bac95b8fefe4bcc813e65f5e5 Switch shortcut to launch goneovim diff --git a/.hammerspoon/init.lua b/.hammerspoon/init.lua --- a/.hammerspoon/init.lua +++ b/.hammerspoon/init.lua @@ -48,17 +48,11 @@ cmdCtrl('left', function () focusedWind cmdCtrl('right', function () focusedWindow():moveOneScreenEast() end) cmd('return', function () - local a = findOrLaunch('iTerm') + local a = findOrLaunch('iTerm2') a:selectMenuItem({"Shell", "New Window"}) a:activate() end) cmdShift('return', function () - os.execute(os.getenv('SHELL')..' -l -i -c "exec mvim"') + os.execute(os.getenv('SHELL')..' -l -i -c "goneovim &>/dev/null &"') end) - -cmdCtrl('return', function () - local a = findOrLaunch('MacVim') - a:selectMenuItem({"File", "New Window"}) - a:activate() -end)