ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I know I am asking very silly question but it late night now and I can't read any more help file.I use slackware 10 with kernel 2.6 and kde3.3.1,Now after all my installation I found out that my linux console won't print color in shell ,like;
and thye print it like blue or red colour and for printf("something\n") they print in purple colour or something but I forgot it.How do I turn those feature on in vim?
~/.vimrc needs the line
to turn on syntax highlighting.
For color schemes, create the directories ~/.vim/colors
if they don't exist
mkdir -p ~/.vim/colors
Then download some colors schemes from vim.org and put them in the colors directory. Then you can try them out like AMMullan said and they can also be put in .vimrc with the line
Hi guy ,
Thanks for the helps ,both way work fine with me . There is no .vimrc in my /home/~ folder so I copy it from /usr/share/vim/vim/63/vimrc_example and rename it into .vimrc and I check for syntax on or syntax enable command and I switch that on.Before I copy .vimrc I found out that I could use like in vim with
":syatanx enable".One last question if I want to turn sytanx hightlighting for language pascal ,all I have to do it to find pascal.vim color vime and put it in /usr/share/vim/vim63/colours ,right?
Thanks for the help ,it really it comforting to look at color hight light in termel while writing codes.
I just just the /var/usr/share/vim/vim63/syntax folder and I found out that they got most of language out there .That make it a lot easier ,I just try some code and they reconigse the .pas code right away .That cool!
I need to learn a few language more and I guess I won't be downloading any file from vim.org