I think that pain is a great motivator to refactor the code base. I understand that pain, I have been there. But coming from an IDE that supported code folding, I can say two things about it. First, it only helps marginally. Second, it makes occurrences of large files even more prevalent.