Posted by: harsh1kumar on: October 21, 2008
This is for my further reference.
This methord will give different beautiful colours to functions, strings, comments, keywords, etc f
or c, c+, etc.
For ubuntu first install the package vim-full. Then make a file in your home directory with the name .vimr. Type this in command line:
viĀ ~/.vimrc
Put this line in this file:
:syntax enable
Then you are done. Next time you will see beautiful colours in your source code.