VI/VIM not colorizing syntax like html or php

VI/VIM not colorizing syntax like html or php

I am brushing my old pc and installing ubuntu on it. As I was installing php-mysql and related packages I noticed that the vim/vi editor is not highlighting html or php syntaxes.
That would be it if you are running a bit older version of the ubuntu. Upgrading vim will take care of the problem:

sudo apt-get install vim-genome
sudo apt-get install vim

then go to the vimrc file and – it would be in /etc/vim/vimrc by default and uncomment the line syntax on

then you should get your vim rocking!

See how you would solve these known algorithm problems

Changing decimal number to its binary equivalent

Finding missing numbers from billion sequential number list file

Implementing tokenizer and adding tokens to the linked list

Java solution for checking anagram strings – tell if phrases are anagrams

Find K Complementary numbers from array Java implementation

testing k complementary pairs algorithm with junit

Array reversal in Recurrsion

Find longest palindrom from sequence of characters

String Ordered Permutation Algorithm Problem

Find the first occurence of number in the sorted array

Leave a Reply

Your email address will not be published. Required fields are marked *

*
*