DOTA 2 Space to Center Hero
bind SPACE "+spacecenter"
Go into your settings, On the Hotkeys tab in the far left column find the option called "Select Hero" and bind this to your spacebar. Whenever you need to center your hero double tap the spacebar, if you want the camera to follow your hero double tap the spacebar and hold it.
Sore Serval