tto / docs / macos / alt tab with hammerspoon window switcher

install hammerspoon as shown in [clipboard-history]

add this to ~/.hammerspoon/init.lua:

-- set up windowfilter
windowfilter = hs.window.filter.new():setCurrentSpace(true):setDefaultFilter{}
switcher = hs.window.switcher.new(windowfilter) -- include minimized/hidden windows, current Space only
hs.window.switcher.ui.showThumbnails = false
hs.window.switcher.ui.showSelectedThumbnail = false

-- bind to hotkeys; WARNING: at least one modifier key is required!
hs.hotkey.bind('alt','tab',function()switcher:next()end)
hs.hotkey.bind('alt-shift','tab',function()switcher:previous()end)

alt tab and alt shift tab now cylce throuh all windows in the current space, this includes minimized windows.