I find that many people in your situation make this all or nothing decision when it doesn't have to be. Why not start looking for a new job today and when you actually find one, then quit. No need to put so much pressure on yourself. If you can't find a job within a month or two, well then your question is answered, don't quit. If you can find a better job, then get out of there.