mathiasbynens / dotfiles

:wrench: .files, including ~/.macos — sensible hacker defaults for macOS
https://mths.be/dotfiles
MIT License
30.2k stars 8.74k forks source link

Add NSWindowShouldDragOnGesture #828

Open stevemoser opened 6 years ago

stevemoser commented 6 years ago

"My favorite macOS hack: "defaults write -g NSWindowShouldDragOnGesture YES". Restart any app. Slam down ctrl-opt-cmd and you can click and drag a window from any location."

https://twitter.com/nibroc/status/963088893758259200

mathiasbynens commented 6 years ago

This is awesome!

Scvairy commented 3 years ago

control+command are sufficient, option is not required

grossjohann commented 2 years ago

I believe this works without this configuration, as well. I first tried:

defaults write -g NSWindowShouldDragOnGesture -bool true

And tried it out and it worked. After that, I did:

defaults delete -g NSWindowShouldDragOnGesture

And it still worked!

luxuxl commented 1 year ago

I believe this works without this configuration, as well. I first tried:

defaults write -g NSWindowShouldDragOnGesture -bool true

And tried it out and it worked. After that, I did:

defaults delete -g NSWindowShouldDragOnGesture

And it still worked!

Have you ever tried to log out and log in again?

grossjohann commented 1 year ago

Have you ever tried to log out and log in again?

I guess that must have been it. Thank you.

d1y commented 1 year ago

Thank you guy ❤️ I miss x11 very much, it feels very useful after turning on this option, it would be great if there is a magic that can shrink and enlarge the window 🫣 I am using now https://github.com/zenangst/MouseDef

zenangst commented 8 months ago

@d1y thanks for the mention, I'm working on a huge update for MouseDef that includes all kinds of goodies :)

image image
dbolser commented 4 months ago

control+command are sufficient, option is not required

Is it possible to adjust this to just command? I see that ctrl-click already does something, but cmd-click seems 'free'.

I'm new to mac, and it bothers me that stuff I literally never use (∂ƒ©˙∆) is easy to access, but useful stuff feels hidden... I guess I'm learning a new language ;-)

Cheers,