Keyboard Shortcut to maximize a window? [duplicate]

Simultaneously holding down the control-command-F keys maximizes the window.

Re-typing the same keys reverse the process and puts the window back to its original size.


There are Apps that allow for this, Rectangle and Magnet come to mind off the top of my head. There are a few more. I prefer Rectangle over Magnet.

enter image description here