redrose: (Default)
[personal profile] redrose
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?

Date: 2009-01-23 03:59 pm (UTC)
From: [identity profile] marydell.livejournal.com
Both? Vi is installed by default on every system under the sun - including when you're booting in single-user mode or with a partial OS - but if you're not sysadminning, that's not as important. Vi is deeply counterintuitive for most people, but if you're good at memorizing weird macro sequency things, it's extremely powerful.

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.

Date: 2009-01-23 04:30 pm (UTC)
ext_80683: (Default)
From: [identity profile] crwilley.livejournal.com
Does emacs not allow regular expressions? I'm astonished to hear that - if nothing else, if it doesn't natively, there's almost certainly an extension for it.

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.

Date: 2009-01-23 05:51 pm (UTC)
ext_13461: Foxes Frolicing (Default)
From: [identity profile] al-zorra.livejournal.com
I wish I wasn't an idiot so I knew what you are saying!

Love, C.

Profile

redrose: (Default)
redrose

January 2025

S M T W T F S
   1234
567891011
1213 1415161718
19202122232425
262728293031 

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 2nd, 2025 09:13 pm
Powered by Dreamwidth Studios