Yes, you've done the right thing and I'm sorry you're hurting but with zero contact (don't respond to him if he tries to contact you as you will only set HIM back (as well as yourself) in healing if you do.) Don't let him hoover you back in to ease your pain, that too will set you back in your healing.
In time and what you do with your time will speed along your recovery, once you've healed and found a healthy love where you don't have to be micro-managing and caretaking, you'll be so happy you love yourself enough to be this strong.
Well wishes.
“The willingness to accept responsibility for one’s own life is the source from which self-respect springs.” ~Joan Didion