Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 17th June 2005, 08:00 PM
freeups Offline
Registered User
 
Join Date: Mar 2005
Location: Seattle, USA
Posts: 14
vim - enabling colour

Hey everyone.

I have two servers. The first is FC3. It has all my websites on it. When I ssh into it to configure files I have the colored text and the ruler feature in VI.

I recently did a clean install of FC4. For whatever reason I seem to have nothing but problems with it. It does not recognize my sound card that FC3 had no problem with. Anyway thats another post.

When I ssh into FC4 i get the plain VI. I have confirmed that VIM is installed. I read on the forum that you do the following to get more vi options

Quote:
:set [option]
When I do this on my FC3 I get the following


Quote:
:set
--- Options ---
backspace=2 helplang=en scroll=11 viminfo='20,"50
cscopetag history=50 syntax=apache t_Sb=^[[4%dm
cscopeverbose hlsearch ttyfast t_Sf=^[[3%dm
filetype=apache ruler ttymouse=xterm
cscopeprg=/usr/bin/cscope
fileencoding=utf-8
fileencodings=utf-8,latin1
When I go to FC4 and do the same thing I get


Quote:
:set
--- Options ---
backspace=2 modified ttyfast
history=50 scroll=11
fileencoding=utf-8
fileencodings=ucs-bom,utf-8,latin1
Do I not have VIM installed correct or something as FC4 has way less options. Do I need to enable something. As far as i am concerned I feel that I have installed the same options in FC4 than in FC3. Do i have to yum install something.

Is FC3 only supported for the next few months. I always like to keep everything updated but it seems wrong to be running FC3 now that FC4 is available. Is FC3 just fine for a server as long as you keep updated with updates.

Thanks.
Reply With Quote
  #2  
Old 17th June 2005, 09:06 PM
huw-l Offline
Registered User
 
Join Date: Apr 2004
Location: Cardiff, UK
Age: 35
Posts: 315
you might not have vim-enhanced installed.
Reply With Quote
  #3  
Old 17th June 2005, 10:35 PM
freeups Offline
Registered User
 
Join Date: Mar 2005
Location: Seattle, USA
Posts: 14
Quote:
Originally Posted by huw-l
you might not have vim-enhanced installed.
Doing
Quote:
yum search vim
I get


Quote:
vim-enhanced.i386 1:6.3.071-3 installed
Matched from:
vim-enhanced
A version of the VIM editor which includes recent enhancements.
VIM (Vi IMproved) is an updated and improved version of the vi editor.
Vi was the first real screen-based editor for UNIX, and is still very
popular. VIM improves on vi by adding new features: multiple windows,
multi-level undo, block highlighting, and more. The vim-enhanced
package contains a version of VIM with extra, recently introduced
features like Python and Perl interpreters.

Install the vim-enhanced package if you want to use a version of the
VIM editor which includes recently added enhancements like
interpreters for the Python and Perl scripting languages. You will
also need to install the vim-common package.
Reply With Quote
  #4  
Old 18th June 2005, 10:15 AM
huw-l Offline
Registered User
 
Join Date: Apr 2004
Location: Cardiff, UK
Age: 35
Posts: 315
I suspect that vi is not aliased to vim. so do

vim /file/to/edit

rather than

vi /file/to/edit
Reply With Quote
Reply

Tags
colour, enabling, vim

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
KDE 4.2: How to change taskbar colour? SpectrumDT Using Fedora 2 23rd February 2009 12:18 PM
Gnome colour chooser imfromwales Using Fedora 25 25th December 2007 09:29 AM
GNOME colour inbetween nihil-baxter Using Fedora 4 8th August 2005 02:59 AM


Current GMT-time: 06:49 (Sunday, 26-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat