Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Suddenly, without any explicit declaration of war my Vim starts to render random files in a very strange way. Actually, this should be colored and sees that weird line numbers.

I've checkout my .vimrc, but it had not changed literally for years. I've uninstalled cscope and pathogen, the only third-party extensions I have, but this steps had not lead me anywhere. The most strange thing is that sometimes I get a normal, colorized input and sometimes I don't.

I would really appreciate any hint on this issue.

enter image description here

share|improve this question

1 Answer 1

up vote 5 down vote accepted

Have you installed an update of your terminal emulator?

If so, have you tried vim with another terminal emulator? Does the problem occur there, too?

share|improve this answer
    
Silly me! Of course this is exactly an issue with terminal emulator! –  shabunc Jul 18 '13 at 12:48
    
@shabunc, could you explain the cause of the issue and how you managed to solve it so that this question helps others. –  romainl Jul 18 '13 at 13:33
3  
@romainl Sure, a friend of mine made a joke while I've been absent for a while. He've set up in my preferences Terminal to behave like VT-100 instead of xterm-256color. –  shabunc Jul 18 '13 at 13:35
1  
Funny joke, actually. More subtle than wrapping all your stuff with tin foil. –  romainl Jul 18 '13 at 14:39

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.