I am not a long-time Mac user and could find the answer. So on Win7 there is a built-in feature when you click Win+← the window resizes to fit half of the screen and sticks to left. Is there something similar on OS X?
There are lots and lots of similar window management apps available, the one I like to use and recommend is called Moom. Sounds a stupid name, but it's short for Move and Zoom.
Amongst various other functions (lots more, like edge snapping etc), it allows you to:
Keyboard shortcuts are also available and customisable:
So essentially, yes, you can replicate the feature diretly, with the same keystroke, only with plenty more options. Moom isn;t free, but it's not particularly expensive either. Plenty more window managers are available that do similar, and even cost less. This is just my recommendation.
Divvy has a free trial, and is about $14 if you would like to get ride of a window that pops up and asks whether you want to buy the software. It allows you to customize different keyboard shortcuts to different window configurations.