LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 07-06-2005, 05:51 AM   #1
overlord73
Member
 
Registered: Apr 2004
Location: ..where no life dwells..
Posts: 541

Rep: Reputation: 30
syntax highlighting/color FC4/vi


hello,
have 2 little questions:

1) how can I enable syntax highlighting in FC4?
seems in FC3 itīs default, but /etc/vimrc are the same!?

2) when editing a file with vi I canīt see the row number at the bottom
how to enable this feature?


thx
 
Old 07-07-2005, 07:51 AM   #2
overlord73
Member
 
Registered: Apr 2004
Location: ..where no life dwells..
Posts: 541

Original Poster
Rep: Reputation: 30
no ideas?
just compared /etc/DIR_COLORS.xterm in FC3 vs. FC4: both the same!
both machines are at runlevel 3, connected via ssh....
BUT on FC4 I have no syntax enabled in vi!!!

WHY???
 
Old 07-12-2005, 04:13 PM   #3
gillius
LQ Newbie
 
Registered: Jul 2005
Location: Rochester, NY
Distribution: Fedora 4
Posts: 13

Rep: Reputation: 0
I don't know if this is your problem, but I just installed FC4, and for me vi and vim are different. VI loads a very plain VI editor -- I would be extremely surprised if this was the true original VI (the one in use today really is VIM).

Try command vim instead of vi to edit files, vim stands for VI I(m)proved. I've done actually alias vi='vim' to enforce that for my user account. When running vim instead of vi I get all of the proper features.
 
Old 07-15-2005, 04:48 AM   #4
overlord73
Member
 
Registered: Apr 2004
Location: ..where no life dwells..
Posts: 541

Original Poster
Rep: Reputation: 30
thx, right tipp!
vim wasnīt installed...how stupid ;-)
-> installed vim-common & vim-enhanced
 
  


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
Syntax highlighting in Gedit jriis Linux - Software 1 10-24-2005 07:16 AM
shell color syntax/highlighting on FC4 kz26 Linux - General 18 08-16-2005 11:07 PM
syntax highlighting rohr Programming 3 07-06-2005 07:07 AM
Bluefish - Syntax Highlighting (Background Color) Quasaur Linux - Software 1 11-18-2003 03:21 PM
emacs color-syntax highlighting with perl SerfurJ Linux - Software 2 09-22-2003 09:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 03:43 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