LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 04-10-2007, 09:47 AM   #1
billiejoex
Member
 
Registered: Oct 2005
Posts: 31

Rep: Reputation: 15
Enabling vi colors on a RedHat distro


Hi there.
I'm working on an old RedHat linux distro.
I'm trying to understand how to enable syntax colorizing in vi.
On debian (based) distros I usually add "syntax enable" line into /etc/vim/vimrc but red-hat does not have such file.
Any suggestion?
 
Old 04-10-2007, 11:22 AM   #2
mschutte
Member
 
Registered: Jan 2005
Location: Innsbruck, Austria
Distribution: Debian GNU/Linux Lenny
Posts: 68

Rep: Reputation: 15
On non-Debian systems, the file is usually called /etc/vimrc. If it doesn't exist, you may simply create it.
 
Old 04-10-2007, 08:51 PM   #3
Buto
Member
 
Registered: Sep 2004
Location: So Cal
Distribution: Slackware 12
Posts: 60

Rep: Reputation: 16
try searching for .vimrc. On my slackware box I didnt have any colors and the arrow keys were not working. So I went to /usr/local/share/vim/vim58 and copied the vimrc_example.vim to the home directory and renamed it to .vimrc. Hope this helps.
 
  


Reply



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
Gentoo console colors in Fedora/Redhat? KoopaTroopa Linux - General 5 12-18-2006 07:13 AM
Enabling colors for C++ in VIM gdeward Programming 2 07-24-2006 06:00 AM
USB Enabling in Redhat rahimzai Red Hat 6 10-04-2005 12:15 AM
Enabling a proc under RedHat 3 AS and more... pflorent Linux - Hardware 0 01-12-2005 02:18 AM
enabling colors in my shell? Quartzophobia Linux - General 4 01-02-2005 06:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 04:07 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration