help with VI
USA Linux Users Group Forum Index
»
All other software.
View previous topic
::
View next topic
Author
Message
rhemasound
New Member
Joined: 17 Aug 2024
Posts: 29
Posted: Wed Nov 17, 2024 4:38 pm
Post subject: help with VI
I need some help with vi... My system is using Debian Sarge... typing vi actually executes elvis, I also have vim
My problem is when I type for example
Code:
vi index.html
instead of puting my file source in a color coded format, I get the same thing as I would if I loaded
Code:
lynx index.html
The point is that I want to edit the code, and not view (particularly not in a text browser) it. if I type
Code:
vim index.html
I get the source code, albeit it is not color coded.
What can I do.
_________________
Laptop: Debian 3.1 "Sarge" and OpenBSD 3.9
Dedicated Server: Debian 3.1 "Sarge"
Back to top
Stuka
Sr. Member
Joined: 15 Oct 2024
Posts: 1099
Location: Houston, TX
Posted: Thu Nov 18, 2024 12:47 am
Post subject:
The vi is probably a symlink to something else. Open the file in vim, and use
Code:
:syntax on
to turn on the syntax highlighting.
Back to top
Display posts from previous:
All Posts
1 Day
7 Days
2 Weeks
1 Month
3 Months
6 Months
1 Year
Oldest First
Newest First
USA Linux Users Group Forum Index
»
All other software.
All times are GMT
Page
1
of
1
Jump to:
Select a forum
News and Announcements
----------------
Announcements - Readme - FAQs - Tutorial Index
Computing News
News of the Swiss Cheese OS
Application News and Releases
Job Classifieds - Job Opportunities
Linux Operating System
----------------
Installation and Bootloaders
Networking
Servers and Server Administration
Hardware
Administration and Security
Linux Education and Certification
Distributions
OTHER
Software - Desktop Applications - Programs
----------------
Software for Business
K12LTSP and Educational Applications
Window Managers
Graphics Applications
Audio and Video Applications
Web Browsers & Email Clients
All other software.
Linux Programming
----------------
Command Line Commands
Shell Scripting and Programming
Community
----------------
COMMUNITY
Traders Forum - Buy-Sell-Trade-Steals&Deals
Distributed Computing Projects
Linux Humor and Jokes
Reviews and Interviews
USAlug.org Suggestions/Comments
You
cannot
post new topics in this forum
You
cannot
reply to topics in this forum
You
cannot
edit your posts in this forum
You
cannot
delete your posts in this forum
You
cannot
vote in polls in this forum
All content © 2024 - Usa Linux Users Group
This forum is powered by phpBB. © 2024-2006 phpBB Group
Theme created by
phpBBStyles.com
and modified by
Crouse