I would not wish a petty/spiteful manager on anyone. I was in a similar situation in my last company: personal problems between my manager and I forced my departure.
In my situation the terrible fact was that my manager's inability to separate his personal and professional life caused the top four of my hierarchy of needs to be threatened (it's hard to be creative and solve problems when you're in a very shitty situation).
At the very end of my tenure, instead of talking about and trying to resolve our personal differences, he chose to go hyper-managerial on me (in manner and communication), making it clear that this was how my day-to-day was going to be from then on.
I loved working with my coworkers and almost everything else about working there, but I found it no longer mattered when I sat next to someone who will only communicate with me in writing with HR cc'd.