Question of the Day: Vi or Emacs? Why?
Jan. 23rd, 2009 10:43 am![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
I need to learn a stronger editor than pico, and I don't know which of these to choose.
I expect to be working in a unix/linux system for much of my career.
Vi allows regular expressions, which could be very useful.
Emacs is extensible, which could be very useful.
Any thoughts?
I expect to be working in a unix/linux system for much of my career.
Vi allows regular expressions, which could be very useful.
Emacs is extensible, which could be very useful.
Any thoughts?
no subject
Date: 2009-01-23 03:59 pm (UTC)Emacs is much more friendly--you can just fire it up and edit in a fairly normal way--and I believe it has embedded help info, so you can discover it as you go. I used to use emacs but once I got into heavy sysad type stuff I switched to vi.
There's a popular editor called joe that might be worth investigating. If you're confined to what happens to be on the system it won't be on most non-linux systems, but if you can customize a bit there are probably better editors than either of these.
(no subject)
From:(no subject)
From:(no subject)
From:(no subject)
From:no subject
Date: 2009-01-23 04:30 pm (UTC)At any rate, if what you want to do with your text editor is edit text, vi is a pretty good balance between 'simple to use' and 'powerful' - a reasonably clueful user could probably master it in a couple days. In the Linux world, there's several different versions floating around, so you might be able to try a couple out and see what makes you happiest.
Emacs is kind of insane. It wouldn't surprise me to find out you could put a man on the moon and achieve world peace using only emacs with the right extensions loaded, but you'd have to memorize a thousand different keystroke combinations and maybe learn Lisp to get the job done. 20 years ago, I liked that you could tell it "I'm coding in C today" and it would automatically indent and highlight all your missing brackets for you, but I think one variant of vi will also do that, and I don't even know if that's relevant to you.
(no subject)
From:no subject
Date: 2009-01-23 05:51 pm (UTC)Love, C.
(no subject)
From:(no subject)
From: