4 jun 2011

VIM "command is not available" Ubuntu 10.04

On a "command is not available" error like this one:
E319: Sorry, the command is not available in this version: syntax on


First uninstall all vim instance
sudo apt-get remove vim vim-tiny


And reinstall it
sudo apt-get install vim