Ask Your Question

no change in colour.

asked 2014-03-06 07:35:20 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.

when im typing in terminal there is no change in colour.....itz not showing colour when im typing (header,if else) i over come this problm.....plz help me

edit retag flag offensive close merge delete


Please stop using # in tags. I have removed them

mether gravatar imagemether ( 2014-03-06 08:25:22 -0500 )edit

kk iwant to know the answer plzzz help

amila gravatar imageamila ( 2014-03-06 11:25:42 -0500 )edit

It is unclear from your question what you are tying and what colors you expect

mether gravatar imagemether ( 2014-03-06 11:29:55 -0500 )edit

actually when typing in the terminal it indicates colours.....such as when typing something between "...." the letters in between them gets into red colour.....and headers such as <iostream> turn into blue colour.....but in my terminal it wont happen i want to know how to overcome that problem ??</iostream>

amila gravatar imageamila ( 2014-03-06 12:11:58 -0500 )edit

Please edit your question to specify the details clearly and dont use abbrevated words

mether gravatar imagemether ( 2014-03-06 12:52:01 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2014-03-06 11:42:47 -0500

jensm gravatar image

updated 2014-03-06 11:43:20 -0500

You have to enable syntax highlight. Which editor?

edit flag offensive delete link more


how i enable it ???

amila gravatar imageamila ( 2014-03-06 12:13:20 -0500 )edit

That depends on the editor you are using

mether gravatar imagemether ( 2014-03-06 12:18:21 -0500 )edit

im using vi editor

amila gravatar imageamila ( 2014-03-06 12:45:48 -0500 )edit

$ echo "syntax on" >> ~/.vimrc

jensm gravatar imagejensm ( 2014-03-06 12:54:15 -0500 )edit

Question Tools

1 follower


Asked: 2014-03-06 07:35:20 -0500

Seen: 84 times

Last updated: Mar 06 '14