ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi
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;
#include <stdio.h>
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
syntax on
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
colorscheme colorschemename
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.