Skip to content

Instantly share code, notes, and snippets.

@tonycoco
Created January 15, 2025 21:18
Show Gist options
  • Save tonycoco/75fad2e9a93f22f650c862c243d58868 to your computer and use it in GitHub Desktop.
Save tonycoco/75fad2e9a93f22f650c862c243d58868 to your computer and use it in GitHub Desktop.
macOS Sequoia Window Tiling Keymap similar to Rectangle.app
defaults write -g NSUserKeyEquivalents -dict-add '\033Window\033Fill' '~^\U21A9' # Window > Fill: ^ + ⌥ + ↩
defaults write -g NSUserKeyEquivalents -dict-add '\033Window\033Center' '~^c' # Window > Center: ^ + ⌥ + c
defaults write -g NSUserKeyEquivalents -dict-add '\033Window\033Move & Resize\033Left' '~^\UF702' # Window > Move & Resize > Left: ^ + ⌥ + ←
defaults write -g NSUserKeyEquivalents -dict-add '\033Window\033Move & Resize\033Right' '~^\UF703' # Window > Move & Resize > Right: ^ + ⌥ + →
defaults write -g NSUserKeyEquivalents -dict-add '\033Window\033Move & Resize\033Top' '~^\UF700' # Window > Move & Resize > Top: ^ + ⌥ + ↑
defaults write -g NSUserKeyEquivalents -dict-add '\033Window\033Move & Resize\033Bottom' '~^\UF701' # Window > Move & Resize > Bottom: ^ + ⌥ + ↓
defaults write -g NSUserKeyEquivalents -dict-add '\033Window\033Move & Resize\033Bottom Left' '~^j' # Window > Move & Resize > Bottom Left: ^ + ⌥ + j
defaults write -g NSUserKeyEquivalents -dict-add '\033Window\033Move & Resize\033Bottom Right' '~^k' # Window > Move & Resize > Bottom Right: ^ + ⌥ + k
defaults write -g NSUserKeyEquivalents -dict-add '\033Window\033Move & Resize\033Top Left' '~^u' # Window > Move & Resize > Top Left: ^ + ⌥ + u
defaults write -g NSUserKeyEquivalents -dict-add '\033Window\033Move & Resize\033Top Right' '~^i' # Window > Move & Resize > Top Right: ^ + ⌥ + i
defaults write -g NSUserKeyEquivalents -dict-add '\033Window\033Move & Resize\033Return to Previous Size' '~^\U008' # Window > Move & Resize > Return to Previous Size: ^ + ⌥ + ⌫
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment