Thu, 09 Mar 2023 10:56:04 -0600
Switch shortcut to launch goneovim
.hammerspoon/init.lua | file | annotate | diff | comparison | revisions |
--- 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)