Skip to content
Advertisement

Vim Starts on Insert Mode and Inserts Special Characters

So vim just suddenly started flaking out on me today and I can’t pinpont the problem. Haven’t touch the configuration file and the last thing I worked on before I noticed the problem was updating my sshd_config and sshd_config.pacnew files.

What I noticed is that upon opening the sshd_config file is vim starting out in insert mode and automatically inserted a series special characters wherever the curser was at the moment. So it overwrites information in configuration files. I guess that can become somewhat problematic =)

So if I start a new file touch test_vim && vim test_vim this is what I see: :bfff/00fe/00fe/13fe[>85;95;0c

I have a feeling this is going to be one of those things that’s really stupid and I completely overlooked. Does anyone have any idea what’s going on?

JavaScript

Advertisement

Answer

This is a recent Vim bug. You should probably roll back to an earlier release while a proper fix is worked on.

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement