NO highlighting in VI editor
Hi
My vi editor does not show any different colors for keywords like int,char etc.. ITs all in one color.. I installed vim, but even that did not help. Can anyone suggest me something..so that i can get a colorful vi :confused: |
If you're using vim, you might want something like
Code:
syntax on |
Hi
:syntax on -I tried this while editing the files. It works only with the files in /usr/local/share/vim/vim55/syntax/ directory It doesn't work in other files outdide this directory? what shall i do? |
Un-comment the syntax line in /etc/vim/vimrc
|
All times are GMT -5. The time now is 05:00 PM. |