LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-07-2003, 04:40 AM   #1
wiggywag
Member
 
Registered: Sep 2003
Location: Denmark
Distribution: Slackware 9.1
Posts: 36

Rep: Reputation: 15
Smile Emacs or Vim? Whats best for me?


I would like to know a editor well for system administration in Linux. I will probably use it most for text editing and maybe html and PHP programming. I don't see the big issue in being able to get mail and browse the internet within the application, but if ex. emacs is very good at this, maybe I will use it, insteead of a mail client or Lynx.

The case is I don't want to use the energy to learn both Vim and Emacs well. What do you suggest for me?
 
Old 10-07-2003, 04:54 AM   #2
iceman47
Senior Member
 
Registered: Oct 2002
Location: Belgium
Distribution: Debian, Free/OpenBSD
Posts: 1,123

Rep: Reputation: 47
lol, the holy war.
This could be the start of another 300 posts thread

Just try them both, see what you like...
 
Old 10-07-2003, 05:02 AM   #3
ehdwuld
Member
 
Registered: Jul 2003
Distribution: Currently Suse 11.1 but have RH7,8,9 / Fedora 7,8_64,9_64,&10_64
Posts: 634

Rep: Reputation: 30
didn't we just have this same debate yesterday???
 
Old 10-07-2003, 06:39 AM   #4
BigNate
Member
 
Registered: Mar 2003
Location: Harrisburg, PA
Distribution: Gentoo, Debian, Ubuntu, Red Hat/CentOS
Posts: 719

Rep: Reputation: 30
<shameless>use vim</shameless>
 
Old 10-07-2003, 08:46 AM   #5
ehdwuld
Member
 
Registered: Jul 2003
Distribution: Currently Suse 11.1 but have RH7,8,9 / Fedora 7,8_64,9_64,&10_64
Posts: 634

Rep: Reputation: 30
open a command line type
vimtutor

its a program to teach you vim --- hands on
 
Old 10-07-2003, 09:03 AM   #6
wiggywag
Member
 
Registered: Sep 2003
Location: Denmark
Distribution: Slackware 9.1
Posts: 36

Original Poster
Rep: Reputation: 15
I'll try the VI tutor. I run thru a emacs tutorial right now, and one thing i like with emacs is that I don't need to hit a esc button everytime I do a command. It's seems like in VI I need to do some more typing?

Last edited by wiggywag; 10-07-2003 at 09:17 AM.
 
Old 10-07-2003, 11:36 AM   #7
speter
Member
 
Registered: Sep 2003
Location: Edison, NJ
Distribution: Fedora, Mac OS X
Posts: 313

Rep: Reputation: 30
The modal nature of vi takes getting used to. Nowadays, before I write the file to disk, I make sure I hit the Esc key until the computer chirps at me.

I love emacs for larger projects, especially editing TeX files, but find myself using vi more for short sysadmin tasks. So for me, it's both, not either/or.

Steve
 
Old 10-07-2003, 12:15 PM   #8
AxeZ
Member
 
Registered: Sep 2002
Location: Novi Sad, Vojvodina
Distribution: Slackware, FreeBSD
Posts: 386

Rep: Reputation: 32
yep, just use both, this will effectivly shut up both sides...
 
Old 10-07-2003, 01:25 PM   #9
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
Give pico a shot too. It's pretty simple and self-explanatory. I use vi the most though. By the way, happy birthday AxeZ
 
Old 10-07-2003, 01:30 PM   #10
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
as megaman suggested, just use pico, if you want to stick with simplistic measures....cause all you do is fire it up and and type/edit what you wish and "ctrl-x - Y - enter" and its saved and exited...
but just as anyone will say and it applies to all things, as there are pros and cons for everything...so you may find you use all them, or you may just stick with one and love it...
so in closing, it can't be said enough, and that is just try all and come to a conclusion yourself...and thats that...
 
Old 10-07-2003, 01:36 PM   #11
mossy
Member
 
Registered: Aug 2003
Location: USexIRL
Distribution: *nix
Posts: 849

Rep: Reputation: 30
I use vi. Keep in mind that any Linux certifications require vi.
I like speter's idea.
 
Old 10-07-2003, 03:14 PM   #12
meldroc
Member
 
Registered: Aug 2003
Posts: 102

Rep: Reputation: 15
Emacs tastes great, while Vim is less filling.

I'm personally a Vim user, though I know lots of Emacs users who swear by it.

I'd say test drive both editors and decide for yourself.

Both editors are not known for being user friendly. It'll take a bit of practice before you learn the commands for each of these editors, but once you learn them, both editors are known for being very efficient in expert hands.

BTW, which flavor of Emacs or vim would you use? There's GNU Emacs - the classic, the prettier XEmacs, and a few more emacs clones out there. On the VI side, there's classic vi, elvis, vim (which comes in standard text vim, kvim for KDE and gvim for GTK/GNOME.), vile, or if you want two in one, you can run viper to give you vi key bindings in Emacs. )
 
Old 10-07-2003, 03:26 PM   #13
LavaDevil94
LQ Guru
 
Registered: Jul 2003
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795

Rep: Reputation: 47
all the linux text editors take getting used to. it isnt really a matter of which one is better, just which one you like. me? i like emacs, because i learned it first. but they both rock .
 
Old 10-07-2003, 03:49 PM   #14
Blinker_Fluid
Member
 
Registered: Jul 2003
Location: Clinging to my guns and religion.
Posts: 683

Rep: Reputation: 63
Real men use VI (real women too )
 
Old 10-07-2003, 04:18 PM   #15
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
hehe
 
  


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
How do I program in Emacs/Vim? coolblue Programming 5 07-29-2005 03:00 AM
emacs not responding to .emacs file in Mandriva 2005 LE. Please help LaptopLinux Mandriva 1 06-08-2005 08:36 AM
how to get colors in emacs and vim pranith Linux - Newbie 1 02-11-2005 12:35 AM
regarding colors in vim and emacs pranith Linux - Newbie 0 02-10-2005 03:10 AM
edb (emacs database) won't open file - emacs 20 & 21 tip184 Linux - Software 0 04-03-2004 07:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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