LinuxQuestions.org

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

impulse() 09-26-2006 06: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 06: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 09: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:33 AM.