Having a cock as a manager can make the best job in the world seem like torture.
Make sure the people above her know exactly why you are leaving. Even if they dont ask you to stay, it'll be satisfying to put a nail in her coffin!
Big shame, but I think you did the right thing, you never realise how much a job sucks untill you quit and get a better one.
Good luck!!