I had a job for four years at a small company, didn't get a single raise. I told them I was quitting, and ON THE SPOT they offered to DOUBLE my salary.
The proper thing to do is take the raise and start looking for another job. When asked what your current requirements are you can quote your now doubled salary.