Hacker News new | ask | show | jobs
by dombesz 1095 days ago
Apparently, this was an existing feature on older macOs-es. I used it a lot, but it has been removed as a default setting like ~8 years ago. But luckily you can still add this shortcut to macOs, this is the first thing I do when I get a fresh install:

1. Go to System Settings -> Keyboard -> Keyboard Shortcuts -> App Shortcuts 2. Click the small (+) button under the shortcuts table. 3. Choose/Type the following values in the modal: - Application: All Applications - Menu Title: Zoom - Keyboard shortcut: Command + Shift + M (My preferred shortcut) 4. Click Save. 5. Voila, now you are able to maximize any window, and pressing it again it goes back to its original size. A cool trick is that now if you hover the green (+) button on the top of any page you will be able to access that shortcut from there as well. It sits just under the "Enter Full Screen" menu option.

1 comments

Sorry for the bad formatting, apparently I cannot edit my comment on HN anymore.

  1. Go to System Settings -> Keyboard -> Keyboard Shortcuts -> App Shortcuts
  2. Click the small (+) button under the shortcuts table
  3. Choose/Type the following values in the modal:
    - Application: All Applications
    - Menu Title: Zoom
    - Keyboard shortcut: Command + Shift + M (My preferred shortcut)
  4. Click Save.
  5. Voila, now you are able to maximize any window, and pressing it again it goes back to its original size. A cool trick is that now if you hover the green (+) button on the top of any page you will be able to access that shortcut from there as well. It sits just under the "Enter Full Screen" menu option.
Makes me wish macosxhints was still around. This was precisely what that site was about. I wonder whether there’s a modern day, fastish way to learn all this hidden behavior.
Chat GPT4 gave a good explanation including the option key behavior when I gave the prompt below. GPT3.5 wasn't nearly as helpful though.

> Can I maximize or "snap" windows on modern MacOS without entering full screen mode (with its annoying multiple "spaces")?