yabai is a tiling window manager for macOS. It automatically arranges application windows and works hand in hand with skhd which I use to set keyboard shortcuts for my window management.

skhd keyboard shortcuts:

Focus Management

  • alt + hjkl → focus windows in different directions
  • alt + s/g → focus different displays

Window Manipulation

  • shift + alt + hjkl → swap windows
  • ctrl + alt + hjkl → warp windows
  • shift + alt + m → toggle fullscreen
  • shift + alt + t → toggle float

Layout Operations

  • shift + alt + e → balance space
  • shift + alt + r → rotate layout 270°
  • shift + alt + y → mirror y-axis
  • shift + alt + x → mirror x-axis

Space Navigation

  • shift + alt + 1-7 → move window to specific space
  • shift + alt + p/n → move to previous/next space
  • shift + alt + s/g → move window to different display