I've tried Yabai multiple times but always bounced off. It's just a little too buggy, a little too opinionated. I've never found a window management system I've actually truly liked. On Linux, I've tried em all, and though in theory I love tiling window managers, but for me automatic tiling with the option to go floating on a per-window basis just ultimately ends up annoying me -- I prefer the reverse. On Windows, PowerToys/FancyZones is as close to my preferred method as possible, but then I'm, you know, using Windows.<p>This past week I've come up with what is I think my perfect, dream solution:<p>- Caps Lock is tapped for Escape, held for Cmd+Ctrl+Opt (i.e. "Hyper" or whatever). I'm a Neovim user, so Caps Lock has been mapped to Escape forever already.<p>- Tapping both Shift keys simultaneously engages Caps Lock for the rare times in which I actually need it.<p>- Window snapping is handled entirely with Hammerspoon. I have commands for absolute positions (e.g. half, one third, two thirds, quarters), but also can define grids and call them with key commands, and then use another command to snap all windows or just the focused window to the nearest grid box.<p>It's all defined with code, and thus lives with my dotfiles, and is just a `brew install` and symlink away from totally setting up on a brand new machine.<p>Also, I set my tmux prefix to Control+p, which I map to Command in my iTerm profile. So, opening up a new tmux "window" (i.e. tab) is Command+t. Navigating to the next "window"/tab is Control+Tab. And so on. Basically it just feels like a browser. This way, whether I switch terminals, or am ssh-ing into a machine, as long as I have my tmux config, those key commands are set.<p>It's an amazing setup, can't recommend it enough.