I couldn't even muster the energy to look for a new job, just the thought of looking into my Vim editor made me feel miserable.
That said, I came out of it. You will too. I'm now coding like crazy :) Please go see a doctor. I did, and stayed in hospital for 4 days so that the doctors could conduct all kinds of tests on me. I was diagnosed with major depression. I took some meds (still taking them), started walking daily, and soon got out of it.
Also try meditation. Its wonderful. And some Yoga.