Readit News logoReadit News
wnolens · 4 years ago
I use https://rectangleapp.com/pro and really enjoy this app (I paid for it, it gets a lot of updates/fixes).

It mostly takes care of snapping and resizing windows with hot keys, but has a less obvious feature in preferences to use mouse.

My setup is: CMD+SHIFT will move any window under mouse pointer CMD+SHIFT+CTRL will resize any window under mouse pointer

js2 · 4 years ago
I like divvy. Create your own grids. Works with a mouse or keyboard.

https://mizage.com/divvy/

I also like Witch for window/app switching. I just wish it was a little less sluggish to activate:

https://manytricks.com/witch/

amy_seqmedia · 4 years ago
Another +1 for Divvy. I have a hard time living without it.

When plugged into my large monitor, I have hotkeys set up to put a window on the left 1/3, the middle 1/3, and the right 1/3. It is so unbelievably useful.

Also when doing multiple monitors, if you do a Divvy hotkey it will move the current window to the monitor your mouse is in. This makes moving windows so fast.

ebcase · 4 years ago
Divvy user here as well, for many years at this point. They haven’t updated it in ages, and with every new macOS release I’m expecting it to stop working. But somehow, it’s still going strong. Even the global keyboard shortcuts!
egeozcan · 4 years ago
For Windows, PowerToys offers something comparable to Divvy (and IMHO better): https://docs.microsoft.com/en-us/windows/powertoys/fancyzone...

I'm very surprised they don't distribute these tools among Windows, now that they are matured.

PowerToys name also brings a lot of good old memories :)

nsonha · 4 years ago
I use AltTab, completely free and I only need to fix task switching, no need for fancier features of witch.
michaelcampbell · 4 years ago
Play around with the Witch options; it seems very sensitive to which ones you choose.
maxwelldone · 4 years ago
I'll throw another option: https://magnet.crowdcafe.com/index.html

I bought it in '17 for $1 - possibly the best dollar I've spent. Looks like it's $4 now. Coupled with a QMK keyboard, the modifiers are even easier to use.

mdavis6890 · 4 years ago
I find it so strange how resistant people (not you!) are to paying trivial sums of money for things that contribute so much value.

It was $1. Now it’s $4! Like half a Starbucks coffee!

How many people would not even see this app because it’s not free?

And how about the one commented below that “looks like it’s no longer maintained?” Sounds like it’s the free choice…

I have been guilty of agonizing over spending $5 on a phone app while drinking a $5 cup of coffee.

Now I’m at the point where I don’t even want to look at free apps. Just tell me how to pay you enough money to make something good, and keep it good over time.

stephbu · 4 years ago
Used magnet for years - absolutely gamechanging for OS/X when coming from Windows/snap-window
logbiscuitswave · 4 years ago
When moving from Windows to macOS as my daily driver I really missed the window management keyboard shortcuts and ability to easily snap a window to the left/right of the screen or maximize windows. Magnet gave me everything I wanted and the price was right. I highly recommend it. Even at $4 it’s well worth the price given how well it works and it’s regularly updated.

That being said, reading this thread I’m realizing how many great options there are for these kind of scenarios on macOS.

girvo · 4 years ago
I'd like to put my hand up and suggest Magnet, too.

For ages, I used Amethyst, which is a "tiling window manager" for macOS, but somewhere along the way it got annoying to install/keep working properly due to some of Apples shenanigans.

So I moved to Magnet. I still use it daily, but honestly forget its there because I use it so much! Just feels like native macOS behaviour at this point.

matesz · 4 years ago
Loving Magnet too. Take half screen (crtl+option+arrow), maximise (ctrl+option+enter) and move to another monitor (ctrl+option+cmd+arrow) are pretty much the only shortcuts I use when it comes to window management.
varenc · 4 years ago
Wow, I didn't know there was a paid Pro option, but the same developer also makes the open source app Rectangle, which sounds like the same thing minus a few features. I use it daily. https://github.com/rxhanson/Rectangle/
cjaybo · 4 years ago
I recently started using the pro version for the custom shortcuts. On a portrait mode monitor I like to split the pane vertically into thirds, so it makes that possible. It's also a pretty cheap buy at $10.
diegof79 · 4 years ago
I use Moom since 2012: https://manytricks.com/moom/

It’s a paid app too, but it was worth every cent. The app was updated for free since my first purchase ten years ago!

outworlder · 4 years ago
Another happy Moom user! From around the same time period.

Can't really use OSX without it.

eligro91 · 4 years ago
I'm using Spectacle for 5-6 years.. I see now that it's no longer maintained, and Rectangle was developed based on Spectacle.
iNerdier · 4 years ago
News to me. I’m still happily using it and haven’t really seen any reason to stop.
chadparker · 4 years ago
Hummingbird is another tool that does this. https://github.com/finestructure/Hummingbird
neodymiumphish · 4 years ago
Amethyst is another great tiling manager, although it's much more focused on the i3-style tiling than just easy snapping. Used it for a while (although I really still don't like Mac's window management).

https://ianyh.com/amethyst/

ceasesurthinko · 4 years ago
Formerly named Hookshot for those who had it a while ago.

That's why tons of people don't realize there was a "Pro" option- because there wasn't one.

The creator (who also made the free open source Spectacle-fork Rectangle app) renamed/rebranded Hookshot into Rectangle Pro sometime about 5 months ago.

wnolens · 4 years ago
Yup I came in through hookshot. I was a paid user there and my license was honored when it was released as rectangle pro. What a stand up guy.
duffyjp · 4 years ago
I've used https://bahoom.com/hyperdock/ since Mac OS 10.4 on my Powerbook G4. Still works great and is updated for every macOS release. Best $10 I ever spent.
ksala_ · 4 years ago
I also use Rectangle, the same developer also make https://hyperkey.app which works very well in tandem with it (you can also get the same features using Karabiner, but I like how polished and plug&play Hyperkey is)
sangeeth96 · 4 years ago
Does anyone know if it's possible to configure Rectangle (the free/OSS version) to use modifier key + Arrow<Vertical> + Arrow<Horizontal> to move a window into one of the four corners?

I currently use Hyper + Arrow<Direction> for TRBL placement but it doesn't let me configure Hyper + two arrow keys for corner placements. Is that something not possible with the free/OSS version?

imwillofficial · 4 years ago
What is “hyper”?
grn · 4 years ago
I didn’t realize there’s a pro version so thank you for posting this. I’m going to give it a try and will pay happily if it improves my workflow.
pxmpxm · 4 years ago
+1 for rectangle

I use a 55in oled screen as my main monitor and rectangle is fantastic for grid window management. CMD+(1,2,3,F1,F2,F3) to move windows around the grid etc

david-cako · 4 years ago
You can also move macOS windows by dragging the border along the opposite axis, with no configuration.
bluedino · 4 years ago
I've been using a Mac since 2010 and someone always points out 'weird' features like this to me on what has to be a monthly basis.
adonovan · 4 years ago
Same with iPhone. My mind was blown when after years of tapping left-arrow someone showed me what happens when you hold down the space key. Or that dragging the iphone chat message app's background to the left reveals the timestamps of each message.

It's all very clever and elegant and minimal but consumer technology user interfaces seem to be converging on that of a Theremin.

copperx · 4 years ago
Along the opposite axis? Can you elaborate?
Etheryte · 4 years ago
If you grab the right-hand edge of a window, you can drag it left or right to resize the window. However, if you instead drag it up or down, you can move the whole window.
aeyes · 4 years ago
Drag the left or right border of a window up or down.
millzlane · 4 years ago
But you can't drag left or right first. If you do, you won't be able to move the window. You either have to decide which one you want to do on the first click.
eevilspock · 4 years ago
It's nice that once you get it moving, you can drag on any axis.
Hamuko · 4 years ago
Feels really finnicky to get the window moving this way. Does someone actually use this as their workflow?
eyelidlessness · 4 years ago
I don’t use it on purpose, but it happens sometimes by accident and always surprises me.
oneeyedpigeon · 4 years ago
It's frustratingly difficult to do this via the right edge, if there's a scrollbar there.
jonwinstanley · 4 years ago
Which is pretty ironic when the scroll bars are so elusive when you actually want to drag them
fumar · 4 years ago
Great tip. I am loving this already.
iwebdevfromhome · 4 years ago
I use the kinda hidden three finger dragging gesture that you can activate like this:

1. Choose Apple menu  > System Preferences, then click Accessibility. 2. Select Pointer Control in the sidebar. (In earlier versions of macOS, select Mouse & Trackpad.) 3. Click the Trackpad Options button. 4. Select ”Enable dragging,” then choose ”three finger drag” from the menu. 5. Click OK.

ugh123 · 4 years ago
I just tried this and it should be warned that this resets existing "three finger drag" (for mission control and switching desktops) to "four finger drag". This took me a while to figure out after thinking something was seriously broken, even after going back and disabling the new setting you mentioned.
mark-wagner · 4 years ago
To be explicit, the fix is to go into the trackpad options, more gestures, and change "swipe between full screen apps" (poor name choice) to three fingers.
iwebdevfromhome · 4 years ago
ah you're right! I've instinctively changing that to four fingers with every mac I have to setup. Thanks for the clarification.
nicwolff · 4 years ago
That's not the same at all, you can still only drag the move bar – and it focuses the window, bringing it to the front. Moving and resizing background windows can very handy.
toomim · 4 years ago
You can move (or do anything to) a background window without focusing it by holding `cmd` while clicking or dragging.
mistersquid · 4 years ago
> Moving and resizing background windows can very handy.

I didn't notice moving and resizing background windows is enabled by the OP writeup and am not in a place where I can implement changes.

Does

  defaults write -g NSWindowShouldDragOnGesture -bool true
in fact enable manipulation of background windows?

incanus77 · 4 years ago
I always turn this on as well, but yes, it doesn't allow different moving of windows.
anyfoo · 4 years ago
Thanks for spreading, one of the very first things I enable. How this isn't the default escapes me.
thebean11 · 4 years ago
Insane to me that this isn't the default. So much more ergonomic than press-dragging.
macintux · 4 years ago
Absolutely. This and tap to click reduce so much friction it’s a world of difference.
mikewhy · 4 years ago
I love three-finger-drag. You can also just flick one of your fingers after starting a drag and it has momentum, great for sliders/dials.

Sadly, it's supported less and less in Apple's own apps:

- if you use the gesture in Finder, it can get confused and mess up all mouse clicks

- it doesn't work at all with the sliders in the new control center menu

oneeyedpigeon · 4 years ago
FYI, that apple logo character isn't a 'real' emoji — it doesn't display on non-Apple devices.
DavideNL · 4 years ago
> "In Unicode, the Private Use Areas (PUA) are three ranges of code points (U+E000–U+F8FF in the BMP, and in planes 15 and 16) that, by definition, will not be assigned characters by the Unicode Consortium. The code points in these areas can not be considered as standardized characters in Unicode itself. They are intentionally left undefined so that third parties may define their own characters without conflicting with Unicode Consortium assignments."

https://codepoints.net/U+F8FF

ebcase · 4 years ago
Yep, this used to be much easier to find, and it got moved to the Accessibility settings a few releases ago? Can’t imagine dragging without this.
daenz · 4 years ago
I've enabled this "grab" feature on every Linux window manager that has supported it. Hold alt or the windows key, click, move. Simple usability improvements make a world of difference, but for some reason, they are uncommon.
Adverblessly · 4 years ago
I actually recommend binding it to something other than Alt (I usually do winkey), since several programs (and in particular browsers) use Alt+drag to allow you to select text that is otherwise unselectable. For example if you drag a link it "drags" the URL allowing you to paste it into other windows, but if you Alt+drag you can select the link text (or parts of it) for copying.
yaomtc · 4 years ago
Makes more sense to use Win+drag because it's a function for the windows
black_puppydog · 4 years ago
Jup, and Alt+Rightclick for resizing.
vlunkr · 4 years ago
I just discovered recently that you can do this in i3, it's a game changer. It's much better than trying to click on tiny borders.
millzlane · 4 years ago
The fact that Alt+right click context menu works anywhere in any window was a godsend. Next best thing to close a program without moving your mouse anywhere.
itomato · 4 years ago
IIRC, this is standard xlib behavior since the 80’s.
tedunangst · 4 years ago
None of window manager behavior is implemented in xlib.
HeckFeck · 4 years ago
This + mouse to focus.

Give it a week and you'll never go back.

Even Windows has a hidden "mouse to focus" mode it calls X-Mouse.

jschroedl · 4 years ago
What is this feature called in general? I'm looking to do this on Manjaro XFCE.

Dead Comment

Bondi_Blue · 4 years ago
I thought this was fairly well known with respect to the defaults customizations. There is a repo here: https://macos-defaults.com/#-what-s-a-defaults-command

...but it is missing a lot of them, which are scattered across the internet. Some others worth checking out are aggregated here:

https://gist.github.com/romanhaa/9804183f242991007b316a59c4b...

amelius · 4 years ago
Title should say "by cmd+ctrl+clicking anywhere on it"
cheerycar · 4 years ago
Hyperdock is one of the best purchases I've ever made. It allows you to assign hot keys to window management - e.g.

alt-left-mouse: grab anywhere in window to move

option-command-left-mouse: resize window from anywhere in window

Hasn't been updated in years but it still works on Monterey though it occasionally requires some kicking. I've looked for alternatives that are more up to date but can never find one that does the above - it's really all I want in a window manager as I don't like automated tiling and other features.

https://apps.apple.com/us/app/hyperdock/id449830122?mt=12

carl_dr · 4 years ago
Try https://www.rectangleapp.com - the pro version probably has the functionality you’re looking for, and is actively maintained.
emrikol · 4 years ago
I love it for the Windows-style peek. I almost can't work without it now.
tgbugs · 4 years ago
I've had `OnWindow Mod1 Mouse1 :MacroCmd {Raise} {Focus} {StartMoving}` in my fluxbox keys config for a decade or so? My brain will automatically issue and alt-click on a window in some other OS and I'm always jolted back to the reality that I'm not in my usual window manager. Now if only I could rebind that cmd ctrl on macos to alt.
mgrandl · 4 years ago
Can you not do that just fine with karabiner-elements?
__float · 4 years ago
Does it require karabiner-elements even? The Keyboard pane in System Preferences lets you rebind all of the modifier keys -- I use it to make the Caps Lock key a Control key.
tgbugs · 4 years ago
Thanks for the pointer.