I'm not sure what changed, but lately Vim has been driving me nuts. Whenever I try to do a column mode insert, vim takes my current character and adds to the last character I inserted. For example, the first time I do a block comment by inserting # on multiple lines, it works fine. The next time, however, I end up with ## inserted on every line, and the problem just compounds from there.

To do this, I'm hitting Ctrl-V, down or up arrow, Shift-I, #, and then Esc. This worked for months, but now it seems to be pasting extra stuff in. I've tried disabling all .vimrc files, but the behavior remains the same.

link|improve this question
The safest way to disable all configuration files is to start Vim as vim -N -u NONE. The -N tells Vim to start in 'nocompatible' mode so that you have all of Vim's features. If you start it that way, does it still exhibit the problem? – garyjohn Jun 23 '11 at 15:50
What version of Vim? What OS? – Heptite Jun 23 '11 at 16:34
I tried the vim -N -u NONE, and it does the same thing. I'm running Vim 7.2 under Fedora 11. I'm running in bash, and I'm using screen. Could this be related to my terminal somehow? – zchtodd Jun 23 '11 at 17:27
Would it be possible for you to upgrade to Vim 7.3 to see if the problem persists? – Heptite Jun 23 '11 at 19:05
feedback

1 Answer

Blind guess: do you have 'set nocompatible' in config?

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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