LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 08-18-2003, 08:16 PM   #1
davalos
LQ Newbie
 
Registered: May 2003
Location: san jose
Distribution: redhat 9
Posts: 18

Rep: Reputation: 0
turning off syntax coloring in vim, permanently


hey again,

i'm wondering if someone can lead me to some information on how to turn off syntax coloring on vim.

i don't know how some of you people do it, but trying to read comments is nearly impossible when you have a dark shell background.

thanks for the help,
davalos
 
Old 08-18-2003, 08:18 PM   #2
martinman
Member
 
Registered: Apr 2003
Distribution: Gentoo 1.4
Posts: 290

Rep: Reputation: 30
you can always just start vim, then do

:syntax off
 
Old 08-18-2003, 08:25 PM   #3
green_dragon37
Member
 
Registered: Oct 2002
Location: Lower Alabama
Distribution: Slackware, OpenBSD 3.9
Posts: 344

Rep: Reputation: 31
Or, put the command you specified in a file, in your home directory, called ".exrc"

Any commands put in that file are executed on start of vi/vim.

Ian
 
Old 08-18-2003, 08:39 PM   #4
davalos
LQ Newbie
 
Registered: May 2003
Location: san jose
Distribution: redhat 9
Posts: 18

Original Poster
Rep: Reputation: 0
true. but, and not to sound lazy,but its an extra step i have to take. i'd much rather figure out how to turn it off.

hey, let me ask you something... i have an athlon 2400+, 512MB DDR SDRAM, and a Radeon 9500... an almost similar box as yours. anyway...when i leave my box on for a while i'll notice some major slow down when i wake up the box. in particular, mozilla turns to a gray color, and my shell takes a while to wake up before i can even type anything.

does, or has this ever happened to you? i ran top, and i don't see any major CPU/Memory usage. i dont' know if this is a X problem, or if i've been hacked and there are some services running i don't know about. but it seems like the only way to temporarily remedy this is to restart the box.

any ideas?



thanks,
davalos
 
Old 08-18-2003, 08:40 PM   #5
davalos
LQ Newbie
 
Registered: May 2003
Location: san jose
Distribution: redhat 9
Posts: 18

Original Poster
Rep: Reputation: 0
thanks, Ian. i'll give that a shot.
 
Old 08-18-2003, 09:04 PM   #6
martinman
Member
 
Registered: Apr 2003
Distribution: Gentoo 1.4
Posts: 290

Rep: Reputation: 30
nope, and i leave it idle very often. THe mouse might be a litty jaggy/laggy for a few split seconds, but imho i can never config the mouse the my liking in RH.

blame it on X...or the drivers for your card
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
RdHat Vim Syntax Highlighting R4z0r Linux - Software 8 09-06-2011 01:22 PM
vim syntax highlighting MiniMe001 Linux - General 2 06-19-2005 11:08 AM
Adding Syntax Highlighting to VIM TastyWheat Linux - Software 2 02-27-2004 03:37 AM
Java syntax highlighting in vim Phantomas Linux - Software 0 08-16-2003 04:34 AM
Vim syntax highlighting NSKL Linux - Software 2 11-09-2002 02:39 AM


All times are GMT -5. The time now is 05:09 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration