Unfortunately any strategies to help you cope will only be temporary because his behavior will still continue and will eventually overwhelm you and cause you distress. Basically without him actually changing, any strategies you use will only be like a bandaid for you. But as for strategies to help you cope, well you can use Cognitive Behavioral Therapy (CBT) to focus on you and help lessen your focus on how he behaves and how it hurts you. CBT has a premise that your symptoms are caused by negative thoughts, so if we change your thought process to be more positive and objective, then your symptoms will lessen as well.
So this link may help you, it contains a technique I use with patients called a thought record. It will help you keep track of any negative thoughts you have. You put the negative thought on paper, the emotion accompanying, the evidence to support it, and the evidence against it. Then I want you to come up with an alternative thought for the situation (more objective and plausible). This will help you change your way of thinking to be able to think more positive and not automatically go to a negative type of thinking.
In addition, these two worksheets are very good at helping to lessen negative type thinking. It can help you focus on the big picture and the objective/positive thoughts and outcomes.
In addition, a couple relaxation exercises may help to keep you calm as well:
But again as I have stated before, if you focus on yourself to cope than you are making it appear that you are the problem and that you need to change, when in fact it is he who needs to change. Any coping strategies you use will only be temporary in helping you because his behavior will continue to erode your mental defense and coping strategies...remember there is only so much poor treatment one person can take.