PDA

View Full Version : Which is better emacs or vi?


rp55
09-11-2009, 11:11 AM
I am so tired and bored by 45 vs 9mm, AR15 vs Mini 14, Glock vs SIG threads that I thought it might prove refreshing to resurrect the one true original argument that never fails to arouse strong feelings. Gentlemen, let's have an old school discussion!

http://i83.photobucket.com/albums/j302/rpwhite55/fr/viman.gif

GSequoia
09-11-2009, 11:52 AM
I like the eMac but you're talking about some rather old hardware there.

ocabj
09-11-2009, 12:06 PM
Both have their inadequacies, but I use vi mainly. I'll use ported emacs (Aquamacs Emacs) under OS X just for some of the coding features.

Nobama4us
09-11-2009, 12:57 PM
I may be old, but I go with the flow, give me COLORS vim baby !!!!


http://idorosen.com/images/vim.gif

Mod note: Image is hilarious, but includes profanity - thus it's been "de-inlined".

Not a problem, thanks for keeping the link in place.

danito
09-11-2009, 1:11 PM
No question - vi

rynando
09-11-2009, 1:35 PM
I like vi as well.

domokun
09-11-2009, 2:29 PM
I use vi because it's installed by default on 99% of all machines out there that I end up using.

http://www.io.com/~dierdorf/vi-emacs2.jpg

Librarian
09-11-2009, 2:33 PM
I had a friend who claimed vi was 'the only text editor brain dead on all terminals'.

emacs, OTOH, is an operating system that happens to allow you to edit text.

Me? I'm partial to the EDT emulator of VAX/VMS TPU. :D

grammaton76
09-11-2009, 2:43 PM
Speedscript 3.2, with the optional patches! Sadly, no one else I know shares my enthusiasm for 8-bit text editors.

Seriously, wordgrinder is the closest thing I've found to it, and that's a recent discovery.

That having been said, I use vi/vim for pretty much everything.

If emacs were to feel as responsive as memacs did on the Amiga, I probably would've gone that route on Linux. But, it just wasn't.

Super Spy
09-11-2009, 2:43 PM
vi

and yes .45ACP is the better round

bwiese
09-11-2009, 3:26 PM
I
Me? I'm partial to the EDT emulator of VAX/VMS TPU. :D

Omigosh, my long lost brother!

dachan
09-11-2009, 5:33 PM
Boy that's from a long time ago. I'm partial to EMACS, what I first used when I entered MIT where I think it was developed, written in LISP of all languages. And vi came from Berkeley as part of BSD Unix. I learned vi mostly by playing Rogue. I'm going attribute any vi favoritism on this forum to home field advantage.

nick
09-11-2009, 5:37 PM
I mainly use vi/vim, haven't had the need for emacs for ages. Anything ships with vi, anyway, no matter how scaled down it is.

Nice to see someone still remembers LISP... :)

dwtt
09-11-2009, 7:19 PM
vi of course.
I hate using those contrl-x, contrl-c, contrl-whatever in emacs.

DiscoBayJoe
09-11-2009, 7:25 PM
emacs all the way!

:%s/emacs/vi/g

SwissFluCase
09-11-2009, 8:07 PM
The original text for the man card was written with vi.

:wq!

SwissFluCase

Librarian
09-11-2009, 8:10 PM
Omigosh, my long lost brother!

I think I have my DECUS "GOLD key" button around someplace ...

deyv
09-11-2009, 8:58 PM
For me, vi is my go to editor.

-deyv

locosway
09-12-2009, 8:08 PM
vim

bbguns44
09-12-2009, 11:11 PM
gvim

Cos
09-13-2009, 11:37 AM
Oh, no.... Not again - emacs-vi war crawling into Calguns :-( It's not refreshing - it's so old and stale as... well.. as .45 vs 9mm

grammaton76
09-14-2009, 12:58 PM
Oh, no.... Not again - emacs-vi war crawling into Calguns :-( It's not refreshing - it's so old and stale as... well.. as .45 vs 9mm

Ok, then let's bring in some less stale wars.

Sig 556 vs FS2000!

Keltec RFB vs FN FNAR!

Crimson Trace vs Lasermax! - wait, that's not a war, that's just an embarrassing smackdown on Lasermax... ;)

sd_shooter
09-14-2009, 1:53 PM
I can't believe I'm seeing this thread here!

Anyway, I use vi and GVim.

gose
09-14-2009, 1:58 PM
vi for config/scripting, emacs for writing "real" code

Hans Gruber
09-14-2009, 2:47 PM
I use vi(m).

jwest
09-15-2009, 12:48 AM
You gotta be kidding.

emacs, xemacs, and Epsilon - www.lugaru.com . vi is like using lynx.

m4rty
09-15-2009, 6:23 AM
Agreed. emacs or xemacs.

It's just too ingrained in the brain after all these years to switch to vi. Like a few, I started with emacs on BSDi far too long ago and it's always been the go-to editor. Usually about the second or third item installed from port when I build a *bsd box for giggles these days...


.45 is the only pistol round. ;)

kapache
09-15-2009, 9:21 AM
nano all the way :-)

grammaton76
09-15-2009, 11:14 AM
You gotta be kidding.

emacs, xemacs, and Epsilon - www.lugaru.com . vi is like using lynx.

Yep - Lynx is an awesome way to browse 2A forums in non-2A-friendly workplaces. Don't diss it, particularly since you can ctrl-e, IIRC, in textarea fields to shell out to VI (or $editor_of_choice of course)

Oh wait, that was supposed to be a point AGAINST vi? ;)

jwest
09-16-2009, 4:36 PM
I must admit I didn't think of using Lynx for that - or for that matter - even knew Lynx was still around. I think I will try it out to see how many sites it actually still works with.

Kind of analogous to texting when you can simply call....

SteveMartin
09-16-2009, 4:46 PM
edlin FTW!

Seriously, vi.

locosway
09-16-2009, 4:51 PM
I know I already said vi, but that's just for quick and dirty edits. It's fast, efficient, and installed on every system I've ever seen no matter it's age or POSIX OS.

However, for an IDE I'm gonna have to roll down the Netbeans path... :)

jwest
09-16-2009, 5:07 PM
edlin FTW!

Seriously, vi.

I laughed out loud when I read this - haven't thought of edlin in maybe ~ 1 decade????

psango
09-16-2009, 7:06 PM
I laughed out loud when I read this - haven't thought of edlin in maybe ~ 1 decade????

Most of us learned vi and edlin when the earth was still being formed.

I knew people who were using vi to write and edit books.

Librarian
09-16-2009, 9:02 PM
Most of us learned vi and edlin when the earth was still being formed.

I new people who were using vi to write and edit books.

and e and ed ...

Of course, there was always roff, troff, and runoff for your book text formatting.

HCz
09-16-2009, 11:00 PM
ouch....one wrong turn on the forum and I get sucked into this geeky stuff.... :(

I preferred emacs. This was for a 2 quarter FORTRAN class, and vi just didn't click with me.

Librarian
09-17-2009, 8:36 PM
I remember I used to have to walk to work - up hill, both ways - and when I got there I had to program in binary, using only '0's because we couldn't afford '1's.

For experts, especially complex programming projects where one needs things like subroutine call parameters out of an extensive library, vi is just marvellous, really powerful.

For more duffer-like folks such as I, emacs and some of the other visual text editors, as opposed to programming editors, is more the way we're used to thinking.

Who wants to enter 'i' before starting to type? It's not hard or anything, but changing states in the editor kind of breaks my train of thought.

7x57
09-18-2009, 7:38 PM
Me? I'm partial to the EDT emulator of VAX/VMS TPU. :D

vi vs. emacs? Here? When did Calguns become some sort of unholy hybrid of guns and some of my other socially unappealing interests?!? :D

Hey, someone who remembers EDT. I seem to recall spending quite a few happy hours using it and a programmer's derivative called, I think eve.

I still remember the gold and blue keys. Just like ctrl/meta in emacs.... :rolleyes:

7x57

7x57
09-18-2009, 7:42 PM
edlin FTW!


ed is the standard text editor....

7x57

SeanCasey
09-20-2009, 10:07 AM
I use VI for my simple text edits.

rabagley
09-20-2009, 8:33 PM
My fingers know emacs. I can use any other editor when necessary, but I'm soooo much faster in emacs that I find myself heading back to it whenever possible.

artherd
09-21-2009, 2:05 AM
http://imgs.xkcd.com/comics/real_programmers.png

1337vending
09-28-2009, 1:12 PM
http://imgs.xkcd.com/comics/real_programmers.png

Thread over.

Was gonna post "Real men use sed..." but artherd had to win the thread...

(vim user here)

So, how about this one... Tabs or Spaces for code...;)

SteveMartin
09-28-2009, 5:26 PM
ed is the standard text editor....

7x57

edlin under DOS was really clunky, maybe they are 2 different things? Maybe I'm not old enough to remember! (I've been in engineering since 1982).

pingpong
09-28-2009, 11:07 PM
emacs. It has M-x butterfly afterall. vi is more of a text editor anyways :p

Then again, I'm a huge IDE whore...

repomanNWP
09-28-2009, 11:43 PM
cat > wow.txt <<EOF
blah blah blah
EOF

who needs editors when you never make a typo? ;-) And don't make me try and remember the line editor on Control Data NOS operating systems I used back in college over a 110baud dial-up modem.

loather
09-29-2009, 6:51 PM
There are usable editors other than vi?

20 year unix veteran. There simply is nothing else. :)

pingpong
09-30-2009, 8:37 PM
There are usable editors other than vi?

20 year unix veteran. There simply is nothing else. :)

notepad :p.

gunn
10-01-2009, 6:38 AM
pico pico pico pico pico pico pico pico pico pico
-g

Nobama4us
10-01-2009, 7:52 AM
notepad :p.

notepad = ^M hell !!!!! thank goodness for dos2unix for all the stuff I get from coworkers written in notepad/wordpad.

patman
10-05-2009, 7:33 PM
Sure there is. ed and ex for those terminals that looked like printers with keyboards. I kind of remember what happened when I went to the terminal lab and all the telerays were occupied except for these two available teletypes. Starting up vi didn't work very well.

Vim user here, 25 years of unix :D. vim gives you vi and ex all in one package! Go argv[]! (so what if vi is usually linked to elvis?) Maybe being able to run bash or other tools while in a vi session is the attracting factor. I also have to say that gvim with the stinking mouse/cursor is annoying. At least we have cygwin.

After all this time, I still can't remember how to exit EMACS without a Kill -9 ;)

There are usable editors other than vi?

20 year unix veteran. There simply is nothing else. :)

TripleBogey
10-05-2009, 8:57 PM
Vi, but vim is even better.

fd15k
10-11-2009, 5:58 PM
vi is a text editor, while emacs is more like a dev environment with its huge number of plugins. Both are obsolete, and only ignorant
hardcore hackers can still debate which one is better ;)

danito
10-12-2009, 8:40 PM
http://nbalon.info/weblog/comics/vi.jpg

aileron
10-12-2009, 9:11 PM
vi all the way. Oh and .460 Roland is better then .45 which is better than 9mm. ;)

This should of been a poll, because I think vi has a strong lead on this board. :p

edsel6502
10-13-2009, 11:40 AM
Me? I'm partial to the EDT emulator of VAX/VMS TPU. :D

LIbrarian is correct.

EDT FTW. Especially on a VT220 terminal with the off so sweet Select, remove and insert keys.

7x57
10-15-2009, 9:28 PM
This should of been a poll, because I think vi has a strong lead on this board. :p

That's because emacs was linked with MIT/lisp culture, and vi with C/unix culture. Guess which one won? It always amazes me how the more theoretically productive a language is, the less is written in it that I need to run.

I could always start a poll about sendmail/exim/postfix/qmail. :D

7x57

locosway
10-15-2009, 9:56 PM
*cough* Postfix *cough*

fd15k
10-15-2009, 10:03 PM
Sendmail is as obsolete as vi ;) qmail is a joke... and postfix vs exim is just a matter of preference :chris:

That's because emacs was linked with MIT/lisp culture, and vi with C/unix culture. Guess which one won? It always amazes me how the more theoretically productive a language is, the less is written in it that I need to run.

I could always start a poll about sendmail/exim/postfix/qmail. :D

7x57

grammaton76
10-16-2009, 2:30 PM
Sendmail is as obsolete as vi ;) qmail is a joke... and postfix vs exim is just a matter of preference :chris:

Qmail without vpopmail is a joke. Administering postfix is a joke compared with qmailadmin. :)