Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I'll occasionally do quarters. Especially half on one side, two quarter-windows on the other, for a 3-window arrangement. On Mac.

My key bindings are a little different because I use the defaults in Spectacle to do it. More than a decade like that. Program's discontinued but still works and has never given me so much as one problem this entire time, so I'm going to keep using it until it stops working.



Tiling is now built in to MacOS if you want to give that a try:

https://support.apple.com/guide/mac-help/mac-window-tiling-i...


Yeah, I haven't seen a way to change the keybindings so they match my muscle memory. My current set-up is "brew install spectacle", cmd+space+"spect"+return, tick the checkbox to run at startup, then never think about it again—even if there were a way, I'd also have to go to the trouble of scripting the keybinding changes to make it this easy.


This covers binding Cmd+Opt+[Arrows, F, C], which is all I use:

    defaults write -g NSUserKeyEquivalents -dict-add \
        "\033Window\033Move & Resize\033Left" "@~\\U2190" \
        "\033Window\033Move & Resize\033Right" "@~\\U2192" \
        "\033Window\033Move & Resize\033Top" "@~\\U2191" \
        "\033Window\033Move & Resize\033Bottom" "@~\\U2193" \
        "\033Window\033Fill" "@~F" \
        "\033Window\033Center" "@~C"
Equivalent to manually binding in System Settings -> Keyboard -> Keyboard Shortcuts -> App Shortcuts


Ah, looks promising, and I bet I can figure out how to add the rest with that as an example and some light Web searching.

I use all of those except center, plus Cmd+Ctrl+[left, right] for top quarters left and right, and Cmd+Ctrl+Shift+[left, right] for lower quarters left and right.

Thanks!


There is a maintained fork called “Rectangle” now.


I thought that was a totally different program, not a fork? If it's a fork, I guess that simplifies figuring out which alternative to switch to the first time Spectacle gives me any trouble at all.


https://github.com/rxhanson/Rectangle

It says “based on” in the README, which could just mean “inspired by”, but it’s also in the license so I thought that it was an actual fork. Looking at the actual history would reveal the answer, but idk, works basically the same.


Quarters? You deviant!


Splitter!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: