Friday, April 8, 2016

command line - Coloured view in vim editor not working in ubuntu 12.04



My Vim editor version VIM - Vi IMproved 7.3 (2010 Aug 15, compiled May 4 2012 04:19:52)



When I open a file(shell script, etc) with it, all the text are on same color. It's not user friendly. How can I solved it?



I tried with adding syntax on in ~/.vimrc file. but no use. It says





E319: Sorry, the command is not available in this version: syntax on




Try sudo apt-get install vim. By default Ubuntu comes with vim-minimal (which does not have syntax highlighting).


No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...