gordonsmall
Posts: 2106
Joined: Sun Jul 01, 2001 1:52 am

Vi / ViM Or Emacs?

Fri Oct 28, 2005 8:51 pm

Since Airbus v Boeing wars seem to be frowned upon more and more these days, I decided I'd start some other quasi-religious hate wars.  Smile

First up, text editors?

What's your preference, Vi or Emacs?

Me, I can use either, but tend to use Vim on servers for editing config files and Emacs on my desktop/laptop for programming and shell scripting.

I've also been known to use Pico on occasion though.

Regards,
Gordon.
Statistically, people who have had the most birthdays tend to live the longest.
 
gkirk
Posts: 23346
Joined: Thu Jun 15, 2000 3:29 am

RE: Vi / ViM Or Emacs?

Fri Oct 28, 2005 8:53 pm

I find Pico easiest to use  Wink
When you hear the noise of the Tartan Army Boys, we'll be coming down the road!
 
RichardPrice
Posts: 4474
Joined: Sat Apr 23, 2005 5:12 am

RE: Vi / ViM Or Emacs?

Fri Oct 28, 2005 8:58 pm

vi for me  Smile

But then, Im oldstyle Unix.
 
vivek0072
Posts: 283
Joined: Tue Jun 07, 2005 5:43 am

RE: Vi / ViM Or Emacs?

Sat Oct 29, 2005 2:20 am

vi for me.....meantime which flavour or unix do u prefer ? I prefer the one from HP.
That life's most failures were people who did not realise how close they were to success when they gave up. - Edison.
 
kaddyuk
Posts: 3697
Joined: Thu Nov 08, 2001 1:04 am

RE: Vi / ViM Or Emacs?

Sat Oct 29, 2005 2:45 am

PICO all the way, i cant get used to vi....
Whoever said "laughter is the best medicine" never had Gonorrhea
 
Kay
Posts: 1797
Joined: Fri Mar 01, 2002 3:41 pm

RE: Vi / ViM Or Emacs?

Sat Oct 29, 2005 2:46 am

emacs??? why not use MsWord if you like menu bars so much?  Wink


vi, all the way.


Kay
 
User avatar
nighthawk
Posts: 4780
Joined: Sun Sep 16, 2001 2:33 am

RE: Vi / ViM Or Emacs?

Sat Oct 29, 2005 2:51 am

PICO is the one and only! Who needs fancy commands like in emacs, all you need is basic editing! (ok so emacs confuses the hell out of me..)

My favourite linux flavour is mandrake/mandriva.
 
mlsrar
Posts: 1384
Joined: Thu Mar 09, 2000 7:41 am

RE: Vi / ViM Or Emacs?

Sat Oct 29, 2005 2:56 am

VIm is just awesome. I'm totally hooked on it and distribute it to all of my Solaris boxes as well as my RH servers.

It is the best of the best (VI) with updated feature and logical key compatability.
I mean, for the right price I’ll fight a lion. - Mike Tyson
 
jwenting
Posts: 9973
Joined: Mon Apr 23, 2001 10:12 pm

RE: Vi / ViM Or Emacs?

Sat Oct 29, 2005 2:49 pm

VI forever. Use it on Windows, Linux, AIX, SCO, Solaris, basically anywhere.
I wish I were flying
 
beowulf
Posts: 743
Joined: Wed Jul 30, 2003 3:22 am

RE: Vi / ViM Or Emacs?

Sat Oct 29, 2005 3:10 pm

Pico!

Vi(m) and Emacs make me really grumpy.

Nick
 
B744F
Posts: 2927
Joined: Sat Jan 21, 2006 4:52 pm

RE: Vi / ViM Or Emacs?

Sat Oct 29, 2005 4:14 pm

vi is nice, except no page down functions really hurts when im looking through logs
 
senliture
Posts: 404
Joined: Sun May 14, 2000 5:28 pm

RE: Vi / ViM Or Emacs?

Sat Oct 29, 2005 11:47 pm

Quoting B744F (Reply 10):
vi is nice, except no page down functions really hurts when im looking through logs

I doubt. What version of os you are using? Have you ever tried vim? Some unix and SunOs seperate vi and vim while most of the linux have actually lniked the vi to vim. Once loaded the vim, type
:set nocp
(remember the colon)
or, you can create a file (or open if exists) called
.vimrc
(remember the dot at the beginning)
and type the :set nocp into it and store/exit.

Happy vim!

btw, I use vim as it was the first editor that my school taught me when we were introduced to linux. Took me a while to get used to the commands, but they make senses.

[Edited 2005-10-29 16:49:44]
 
hawaiian717
Posts: 3139
Joined: Tue May 18, 1999 2:46 am

RE: Vi / ViM Or Emacs?

Sun Oct 30, 2005 2:15 am

I prefer GUI editors, like TextWrangler or XCode. When I have to use a command line editor, I like pico/nano. If I have to choose between vi/vim and emacs, I choose vi.

As far as distribuations, my favorite Linux is Gentoo, but my favorite flavor of Unix is Mac OS X.
 
Klaus
Posts: 20594
Joined: Wed Jul 11, 2001 7:41 am

RE: Vi / ViM Or Emacs?

Sun Oct 30, 2005 3:41 am

I use vi (or, if available, pico) if I must, but fortunately BBEdit covers practically all cases I currently need. Where necessary I use BBEdit's built-in SFTP client to access files on remote servers transparently.

It's nice to have console-based editors as an ultimate backup if everything else should fail, but that is inceasingly rarely the case. And I'm happy about it as the console editors are incredibly cumbersome and slow compared with a proper graphical one.

Key bindings, regular expressions, programmable text processing, integrated CVS support and many other features are available in BBEdit as well (combined with cross-application scripting through AppleScript).

I'm not missing anything - and the Editor is my primary working tool.

Who is online

Users browsing this forum: Baidu [Spider], Google [Bot], GrayMatter, jpetekyxmd80, PacificBeach88, seb146 and 20 guests