<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments on: Turn on or off color syntax highlighting in vi or vim</title> <atom:link href="http://www.cyberciti.biz/faq/turn-on-or-off-color-syntax-highlighting-in-vi-or-vim/feed/" rel="self" type="application/rss+xml" /><link>http://www.cyberciti.biz/faq/turn-on-or-off-color-syntax-highlighting-in-vi-or-vim/</link> <description>Every answer asks a more beautiful question.</description> <lastBuildDate>Fri, 10 Feb 2012 19:55:56 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: Diwanker Pandey</title><link>http://www.cyberciti.biz/faq/turn-on-or-off-color-syntax-highlighting-in-vi-or-vim/#comment-62629</link> <dc:creator>Diwanker Pandey</dc:creator> <pubDate>Wed, 21 Sep 2011 10:38:57 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/turn-on-or-off-color-syntax-highlighting-in-vi-or-vim/#comment-62629</guid> <description>how to compile c program in fedora 15?
Can anybody help?????</description> <content:encoded><![CDATA[<p>how to compile c program in fedora 15?</p><p>Can anybody help?????</p> ]]></content:encoded> </item> <item><title>By: Sourav Chakraborty</title><link>http://www.cyberciti.biz/faq/turn-on-or-off-color-syntax-highlighting-in-vi-or-vim/#comment-62620</link> <dc:creator>Sourav Chakraborty</dc:creator> <pubDate>Wed, 21 Sep 2011 08:10:08 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/turn-on-or-off-color-syntax-highlighting-in-vi-or-vim/#comment-62620</guid> <description>Thanks for the great tip!</description> <content:encoded><![CDATA[<p>Thanks for the great tip!</p> ]]></content:encoded> </item> <item><title>By: Anonymous</title><link>http://www.cyberciti.biz/faq/turn-on-or-off-color-syntax-highlighting-in-vi-or-vim/#comment-61436</link> <dc:creator>Anonymous</dc:creator> <pubDate>Tue, 09 Aug 2011 21:01:29 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/turn-on-or-off-color-syntax-highlighting-in-vi-or-vim/#comment-61436</guid> <description>use:
:noh
to turn it off</description> <content:encoded><![CDATA[<p>use:<br
/> :noh<br
/> to turn it off</p> ]]></content:encoded> </item> <item><title>By: Ginso</title><link>http://www.cyberciti.biz/faq/turn-on-or-off-color-syntax-highlighting-in-vi-or-vim/#comment-60999</link> <dc:creator>Ginso</dc:creator> <pubDate>Mon, 25 Jul 2011 21:43:42 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/turn-on-or-off-color-syntax-highlighting-in-vi-or-vim/#comment-60999</guid> <description>hi, when i open a new .tex document, i have a different syntax than, when i open an already existing .tex document. I like the first one better, but typing :set syn=tex gives me the ugly one. Any ideas how i get the other one?</description> <content:encoded><![CDATA[<p>hi, when i open a new .tex document, i have a different syntax than, when i open an already existing .tex document. I like the first one better, but typing :set syn=tex gives me the ugly one. Any ideas how i get the other one?</p> ]]></content:encoded> </item> <item><title>By: Indie</title><link>http://www.cyberciti.biz/faq/turn-on-or-off-color-syntax-highlighting-in-vi-or-vim/#comment-60741</link> <dc:creator>Indie</dc:creator> <pubDate>Thu, 14 Jul 2011 16:36:03 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/turn-on-or-off-color-syntax-highlighting-in-vi-or-vim/#comment-60741</guid> <description>If you use sudoedit to edit a file, vim won&#039;t be able to determine what syntax to apply so you need to also do
&lt;pre&gt;:set syn=php&lt;/pre&gt;</description> <content:encoded><![CDATA[<p>If you use sudoedit to edit a file, vim won&#8217;t be able to determine what syntax to apply so you need to also do</p><pre>:set syn=php</pre>]]></content:encoded> </item> <item><title>By: Rajasekhar</title><link>http://www.cyberciti.biz/faq/turn-on-or-off-color-syntax-highlighting-in-vi-or-vim/#comment-60658</link> <dc:creator>Rajasekhar</dc:creator> <pubDate>Tue, 12 Jul 2011 09:00:45 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/turn-on-or-off-color-syntax-highlighting-in-vi-or-vim/#comment-60658</guid> <description>Its working Nice..!! Thank you..!!</description> <content:encoded><![CDATA[<p>Its working Nice..!! Thank you..!!</p> ]]></content:encoded> </item> <item><title>By: Satya Prakash</title><link>http://www.cyberciti.biz/faq/turn-on-or-off-color-syntax-highlighting-in-vi-or-vim/#comment-56107</link> <dc:creator>Satya Prakash</dc:creator> <pubDate>Thu, 03 Mar 2011 10:56:42 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/turn-on-or-off-color-syntax-highlighting-in-vi-or-vim/#comment-56107</guid> <description>To me as well. set syntax=on is working and not just syntax=on</description> <content:encoded><![CDATA[<p>To me as well. set syntax=on is working and not just syntax=on</p> ]]></content:encoded> </item> <item><title>By: Daniel Brockman</title><link>http://www.cyberciti.biz/faq/turn-on-or-off-color-syntax-highlighting-in-vi-or-vim/#comment-56087</link> <dc:creator>Daniel Brockman</dc:creator> <pubDate>Wed, 02 Mar 2011 19:23:36 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/turn-on-or-off-color-syntax-highlighting-in-vi-or-vim/#comment-56087</guid> <description>I&#039;m colorblind, and the syntax highlighting just makes the code hard to read.
I hope the next version of VIM lets me specify what color I want for background and what color I want for foreground instead of requiring me to choose from their predefined templates.
Hey! Maybe VIM already lets me specify bg and fg colors! Does anyone know the syntax for the command?</description> <content:encoded><![CDATA[<p>I&#8217;m colorblind, and the syntax highlighting just makes the code hard to read.</p><p>I hope the next version of VIM lets me specify what color I want for background and what color I want for foreground instead of requiring me to choose from their predefined templates.</p><p>Hey! Maybe VIM already lets me specify bg and fg colors! Does anyone know the syntax for the command?</p> ]]></content:encoded> </item> <item><title>By: Daniel Brockman</title><link>http://www.cyberciti.biz/faq/turn-on-or-off-color-syntax-highlighting-in-vi-or-vim/#comment-56085</link> <dc:creator>Daniel Brockman</dc:creator> <pubDate>Wed, 02 Mar 2011 19:19:40 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/turn-on-or-off-color-syntax-highlighting-in-vi-or-vim/#comment-56085</guid> <description>@Senthil
:syntax on and :syntax off don&#039;t work in vi. They are features of vim. vi is ancient, emerging from work by George Colouris and Bill Joy circa 1973 to 1979. It had no color and no understanding of syntax at all. This was an epoch before color was available on computers (except for government supercomputers used to track incoming intercontinental ballistic missiles, perhaps). Vim arrived much later, the first versions appearing in the early 1990s.
Ref: http://www.softpanorama.org/Editors/Vimorama/history.shtml</description> <content:encoded><![CDATA[<p>@Senthil</p><p>:syntax on and :syntax off don&#8217;t work in vi. They are features of vim. vi is ancient, emerging from work by George Colouris and Bill Joy circa 1973 to 1979. It had no color and no understanding of syntax at all. This was an epoch before color was available on computers (except for government supercomputers used to track incoming intercontinental ballistic missiles, perhaps). Vim arrived much later, the first versions appearing in the early 1990s.</p><p>Ref: <a
href="http://www.softpanorama.org/Editors/Vimorama/history.shtml" rel="nofollow">http://www.softpanorama.org/Editors/Vimorama/history.shtml</a></p> ]]></content:encoded> </item> <item><title>By: johan</title><link>http://www.cyberciti.biz/faq/turn-on-or-off-color-syntax-highlighting-in-vi-or-vim/#comment-56074</link> <dc:creator>johan</dc:creator> <pubDate>Tue, 01 Mar 2011 22:47:39 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/turn-on-or-off-color-syntax-highlighting-in-vi-or-vim/#comment-56074</guid> <description>Thank you very much very helpful.</description> <content:encoded><![CDATA[<p>Thank you very much very helpful.</p> ]]></content:encoded> </item> <item><title>By: Gobikrishnan</title><link>http://www.cyberciti.biz/faq/turn-on-or-off-color-syntax-highlighting-in-vi-or-vim/#comment-55276</link> <dc:creator>Gobikrishnan</dc:creator> <pubDate>Mon, 31 Jan 2011 18:30:51 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/turn-on-or-off-color-syntax-highlighting-in-vi-or-vim/#comment-55276</guid> <description>1st checkl you have installed vim by connanding
yum install vim-enhanced
if you got message like &quot;already installed and latest version
Nothing to do&quot;
if not install it ,
then open your .c/ .cpp file and command
:set syntax=on</description> <content:encoded><![CDATA[<p>1st checkl you have installed vim by connanding<br
/> yum install vim-enhanced<br
/> if you got message like &#8220;already installed and latest version<br
/> Nothing to do&#8221;<br
/> if not install it ,<br
/> then open your .c/ .cpp file and command<br
/> :set syntax=on</p> ]]></content:encoded> </item> <item><title>By: Daniel Brockman</title><link>http://www.cyberciti.biz/faq/turn-on-or-off-color-syntax-highlighting-in-vi-or-vim/#comment-55211</link> <dc:creator>Daniel Brockman</dc:creator> <pubDate>Fri, 28 Jan 2011 00:54:00 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/turn-on-or-off-color-syntax-highlighting-in-vi-or-vim/#comment-55211</guid> <description>I&#039;m very glad to have found this blog and to have learned to use syntax off. Those colors were a profound interference for me.</description> <content:encoded><![CDATA[<p>I&#8217;m very glad to have found this blog and to have learned to use syntax off. Those colors were a profound interference for me.</p> ]]></content:encoded> </item> <item><title>By: Ahamed ishak</title><link>http://www.cyberciti.biz/faq/turn-on-or-off-color-syntax-highlighting-in-vi-or-vim/#comment-54998</link> <dc:creator>Ahamed ishak</dc:creator> <pubDate>Wed, 19 Jan 2011 18:25:13 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/turn-on-or-off-color-syntax-highlighting-in-vi-or-vim/#comment-54998</guid> <description>I try. but i didn&#039;t got it. its not working in my Linux OS.
I use Fedora 14.
Plz give me a help to solve this problem</description> <content:encoded><![CDATA[<p>I try. but i didn&#8217;t got it. its not working in my Linux OS.<br
/> I use Fedora 14.<br
/> Plz give me a help to solve this problem</p> ]]></content:encoded> </item> <item><title>By: Dave</title><link>http://www.cyberciti.biz/faq/turn-on-or-off-color-syntax-highlighting-in-vi-or-vim/#comment-54971</link> <dc:creator>Dave</dc:creator> <pubDate>Tue, 18 Jan 2011 22:25:12 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/turn-on-or-off-color-syntax-highlighting-in-vi-or-vim/#comment-54971</guid> <description>Thanks! Worked well.
Syntax highlighting is a huge benefit to me. It makes commented and uncommented lines different colors in config files. Much easier for finding which options are enabled.</description> <content:encoded><![CDATA[<p>Thanks! Worked well.</p><p>Syntax highlighting is a huge benefit to me. It makes commented and uncommented lines different colors in config files. Much easier for finding which options are enabled.</p> ]]></content:encoded> </item> <item><title>By: George</title><link>http://www.cyberciti.biz/faq/turn-on-or-off-color-syntax-highlighting-in-vi-or-vim/#comment-54927</link> <dc:creator>George</dc:creator> <pubDate>Sun, 16 Jan 2011 05:04:36 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/turn-on-or-off-color-syntax-highlighting-in-vi-or-vim/#comment-54927</guid> <description>What kind of idiot decided that we need syntax highlight ?</description> <content:encoded><![CDATA[<p>What kind of idiot decided that we need syntax highlight ?</p> ]]></content:encoded> </item> <item><title>By: Manoj</title><link>http://www.cyberciti.biz/faq/turn-on-or-off-color-syntax-highlighting-in-vi-or-vim/#comment-49405</link> <dc:creator>Manoj</dc:creator> <pubDate>Thu, 09 Sep 2010 04:28:31 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/turn-on-or-off-color-syntax-highlighting-in-vi-or-vim/#comment-49405</guid> <description>hi,
I am using fedora 13.I wanted to highlight keywords of my C program, i tried all the above told but i am still unable..pls help me out,I am new to linux</description> <content:encoded><![CDATA[<p>hi,<br
/> I am using fedora 13.I wanted to highlight keywords of my C program, i tried all the above told but i am still unable..pls help me out,I am new to linux</p> ]]></content:encoded> </item> <item><title>By: dilu</title><link>http://www.cyberciti.biz/faq/turn-on-or-off-color-syntax-highlighting-in-vi-or-vim/#comment-48671</link> <dc:creator>dilu</dc:creator> <pubDate>Fri, 06 Aug 2010 19:09:03 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/turn-on-or-off-color-syntax-highlighting-in-vi-or-vim/#comment-48671</guid> <description>thanks all,,,,,, i was using vi in cygwin and syntax on worked........ lol..........</description> <content:encoded><![CDATA[<p>thanks all,,,,,, i was using vi in cygwin and syntax on worked&#8230;&#8230;.. lol&#8230;&#8230;&#8230;.</p> ]]></content:encoded> </item> <item><title>By: shijitht</title><link>http://www.cyberciti.biz/faq/turn-on-or-off-color-syntax-highlighting-in-vi-or-vim/#comment-48650</link> <dc:creator>shijitht</dc:creator> <pubDate>Thu, 05 Aug 2010 12:47:37 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/turn-on-or-off-color-syntax-highlighting-in-vi-or-vim/#comment-48650</guid> <description>add a file name .exrc in home dir
set cindent        &quot; for c indentation(correct spacing)
syntax on          &quot; coloring according to c syntax
set nu                &quot; line numbers</description> <content:encoded><![CDATA[<p>add a file name .exrc in home dir<br
/> set cindent        &#8221; for c indentation(correct spacing)<br
/> syntax on          &#8221; coloring according to c syntax<br
/> set nu                &#8221; line numbers</p> ]]></content:encoded> </item> <item><title>By: Imran</title><link>http://www.cyberciti.biz/faq/turn-on-or-off-color-syntax-highlighting-in-vi-or-vim/#comment-47500</link> <dc:creator>Imran</dc:creator> <pubDate>Tue, 25 May 2010 12:30:38 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/turn-on-or-off-color-syntax-highlighting-in-vi-or-vim/#comment-47500</guid> <description>I got syntax highlighting turned on on linux VI editor.  Thanks!</description> <content:encoded><![CDATA[<p>I got syntax highlighting turned on on linux VI editor.  Thanks!</p> ]]></content:encoded> </item> <item><title>By: Bubnoff</title><link>http://www.cyberciti.biz/faq/turn-on-or-off-color-syntax-highlighting-in-vi-or-vim/#comment-45921</link> <dc:creator>Bubnoff</dc:creator> <pubDate>Tue, 09 Feb 2010 19:47:40 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/turn-on-or-off-color-syntax-highlighting-in-vi-or-vim/#comment-45921</guid> <description>&#039;syn on/syn off&#039;, instead of typing &#039;syntax&#039;, works as well in vim.
Imagine what your boss would think if he/she found out you were getting paid while typing
those three extra letters!!!
Bubnoff</description> <content:encoded><![CDATA[<p>&#8216;syn on/syn off&#8217;, instead of typing &#8216;syntax&#8217;, works as well in vim.</p><p>Imagine what your boss would think if he/she found out you were getting paid while typing<br
/> those three extra letters!!!</p><p>Bubnoff</p> ]]></content:encoded> </item> </channel> </rss>
