LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-20-2004, 10:17 PM   #1
slackwaresux
LQ Newbie
 
Registered: Oct 2004
Posts: 5

Rep: Reputation: 0
elvis point to vim in slackware


Alright I searched the forums up and down and have yet to find how to point elvis to vim. I googled this to with no results. Maybe I am searching for the wrong thing. Anyway, I really hate elvis and am trying to use vim instead. I am running slack 10.0.

thanks for the help.
 
Old 10-20-2004, 10:51 PM   #2
baldwonder
Member
 
Registered: Sep 2004
Location: Florida
Distribution: Slackware, VectorLinux, FreeBSD,Xubuntu
Posts: 69

Rep: Reputation: 15
why do you want to point elvis to vim? Why not just use 'vim <file you want to edit>' and forget about elvis?
 
Old 10-21-2004, 01:05 AM   #3
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
The command vi is actually a symbolic link to elvis. Once you have installed vim, it is then simple to:

Code:
rm /usr/bin/vi
ln -s /usr/bin/vim /usr/bin/vi
Now when you want to edit a file, simply type in "vi file.txt", and it will be opened in vim like you want

--Ian
 
1 members found this post helpful.
Old 12-12-2010, 05:28 PM   #4
molossus
Member
 
Registered: Nov 2010
Location: US
Distribution: Ubuntu 12.04
Posts: 49

Rep: Reputation: 0
Wink

Quote:
Originally Posted by IBall View Post
The command vi is actually a symbolic link to elvis. Once you have installed vim, it is then simple to:

Code:
rm /usr/bin/vi
ln -s /usr/bin/vim /usr/bin/vi
Now when you want to edit a file, simply type in "vi file.txt", and it will be opened in vim like you want

--Ian
iam so glad i found your answer, it really solved my problem i had with slackware 13.1, i installed vim but slackware refused to run vim,it just ran vi no matter what i put in etc/profile.
 
Old 12-12-2010, 10:51 PM   #5
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,577
Blog Entries: 31

Rep: Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195
Or ln -fs /usr/bin/vim /usr/bin/vi which saves having to use rm /usr/bin/vi first.
 
1 members found this post helpful.
Old 12-13-2010, 08:43 AM   #6
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.2
Posts: 7,808
Blog Entries: 58

Rep: Reputation: Disabled
Have you noticed the dates on posts #1, #2, and #3?
 
Old 12-16-2010, 05:09 PM   #7
Bertical
Member
 
Registered: Oct 2008
Location: Kingdom of Mercia
Distribution: Slackware
Posts: 83

Rep: Reputation: 13
Yeah , everyone uses emacs nowadays :
Attached Thumbnails
Click image for larger version

Name:	26781876-flame-resistant-suit-fire-protective-clothing.jpg
Views:	17
Size:	189.6 KB
ID:	5547  
 
Old 12-17-2010, 12:28 AM   #8
lumak
Member
 
Registered: Aug 2008
Location: Phoenix
Distribution: Arch
Posts: 799
Blog Entries: 32

Rep: Reputation: 111Reputation: 111
Red face

yes, we all need text processors that play tetris. That's productive... now where's that rolling eyes icon.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Trouble with vim in Slackware electronjunkie Slackware 10 02-17-2006 08:31 PM
Slackware access point frequency Atrocity Slackware 6 05-13-2005 02:50 PM
Strange Vim settings under Slackware 10 Lars79 Slackware 5 08-02-2004 08:50 AM
VIM under Slackware 9.1 kittani Linux - Software 5 06-16-2004 06:02 AM
slackware cdrom mount point alexphyd Linux - Distributions 1 10-23-2002 07:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:01 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration