LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   How do I get coloured syntax in ViM? (http://www.linuxquestions.org/questions/linux-software-2/how-do-i-get-coloured-syntax-in-vim-487226/)

impulse() 09-26-2006 07:32 PM

How do I get coloured syntax in ViM?
 
I've seen a few screenshots which show it possible.

Ste,

gilead 09-26-2006 07:35 PM

Without knowing your distro I'm guessing the location/version, but have a look in /usr/share/vim/vim70/colors/README.txt for some info on using colors in vim.

Valdis Grinbergs 09-26-2006 10:56 PM

Issue at vim's command line 'syntax on' (without the quotes)
or include 'syntax on' in your .vimrc file to always have syntax coloring on.
This will not work if your copy of vim was compiled without syntax coloring included. To learn more, type 'h syntax' at vim's command line.


All times are GMT -5. The time now is 05:03 AM.