4

I have problems with my vim in Ubuntu 11.10, when I press 'i' or 'v' vim doesn't show anything like 'INSERT MODE' or 'VISUAL MODE', when I try to delete with backspace, vim only move the cursor to the left. I tried reinstalling with this Reinstalling Vim but got the same result, also I don't have ~/.vim directory.

It works fine whith :set nocp, why ?

Community
  • 1
  • 1
Daniel Flores
  • 770
  • 3
  • 12
  • 31

4 Answers4

10
apt-get update
apt-get install vim

that will give you the version 7.2.330 or so

You can add :set nocp in your ~/.vimrc

aki
  • 1,241
  • 2
  • 13
  • 43
2

By default, the vim installed on ubuntu system(1 CD ubuntu setup) is minimal vim .... try to upgrade it to the full version.

apt-get update
apt-get install vim
Ravi Gupta
  • 6,258
  • 17
  • 56
  • 79
2

Check /etc/vim/ and see what's there.

apt-get purge vim before re-installing it might help too.

luastoned
  • 663
  • 3
  • 4
1

Since you've already tried reinstalling, try the following: remove /etc/vimrc and $HOME/.vimrc and see if the problem persists. It might be that something changed in your configuration that's giving you troubles

Miquel
  • 15,405
  • 8
  • 54
  • 87