How to reinstall vim?

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

It works great : install nocp , why?

+4
source share
4 answers
apt-get update apt-get install vim 

which will give you version 7.2.330 or so

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

+9
source

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

 apt-get update apt-get install vim 
+2
source

Check /etc/vim/ and see what is there.

apt-get purge vim before reinstalling may also help.

+2
source

Since you already tried to reinstall, try the following: remove /etc/vimrc and $HOME/.vimrc and check if the problem persists. It is possible that something has changed in your configuration, which was giving you trouble

+1
source

Source: https://habr.com/ru/post/1386323/


All Articles