The UNIX Forums  



Go Back   The UNIX Forums > Top Forums > UNIX for Dummies Questions & Answers
Home Forums Register Rules & FAQDonate Members List Search Today's Posts Mark Forums Read

UNIX for Dummies Questions & Answers If you're not sure where to post a technical question, post it here. All UNIX and Linux Newbies Welcome !!

View Poll Results: What is your preferred text editor?
vi or vi clone such as vim 725 72.94%
emacs 55 5.53%
notepad 55 5.53%
EditPlus 52 5.23%
UltraEdit 47 4.73%
pico 22 2.21%
nano 16 1.61%
mcedit 7 0.70%
nedit 15 1.51%
Voters: 994. You may not vote on this poll

Reply
 
Submit Tools Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-21-2005
Registered User
 
Join Date: Jun 2005
Location: New York City
Posts: 95
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
What editor does everyone use?

Sory, I was looking through the topics and I wasn't sure if this was the best place to post this question:

I was wondering, out of curiosity, which software everyone was using to code their scripts in. I do mostly sh/ksh and my favorite has always been EditPlus because it is small, fast, yet powerful. Plus other users in the community have coded syntax highlighting for languages that EditPlus hasn't included.

My two main concerns are:
1. Simplicity (I tend to like souped up versions of notepad, which is what EditPlus seems to be).
2. Syntax highlighting.

I posted this because perhaps there's an even better program I should be using. Or perhaps someone has a very good syntax highlighting file that I haven't found yet.
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 06-21-2005
Just Ice's Avatar
Lights on, brain off.
 
Join Date: Mar 2005
Location: in front of my computer
Posts: 627
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
i tend to stick to vi since it usually comes with the os build by default, it doesn't need an x-server to run and it can do what i need without a lot of overhead ...

while the syntax highlighting could be useful and could make my life more efficient when i'm coding --- it's not required ... and i don't want to get dependent on something that might not be there on the next system i'm working on ...
Reply With Quote
  #3 (permalink)  
Old 06-21-2005
Registered User
 
Join Date: May 2005
Location: Scotland
Posts: 28
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
vim

You can also use vim this is a buffed up version of vi you can get this to do Syntax highlighting. But i just stick with vi as well..

P
Reply With Quote
  #4 (permalink)  
Old 06-21-2005
...@...
 
Join Date: Feb 2004
Location: NM
Posts: 3,030
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
IMO any editor you use should have these features:
1. syntax highlighting for a variety of languages; allows creation of custom hightlighting
2. programmable (or macros)
3. support files from different platofrms (UX, DOS, etc)

vi meets some of those requirments, so it's okay in a pinch. I really like UltraEdit because it supports syntax highlighting for many dozens of languages/environments.
The bad part is it runs on Windows - I think there is an X version coming out, dunno.
Reply With Quote
  #5 (permalink)  
Old 06-21-2005
Registered User
 
Join Date: Feb 2004
Posts: 91
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
I use vi about 99.9% of the time. The rest of the time is when I don't have a terminal open and I just pop Windows Notepad open for a quick note.
Reply With Quote
  #6 (permalink)  
Old 06-21-2005
Registered User
 
Join Date: Jan 2005
Posts: 678
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
Quote:
Originally Posted by jim mcnamara
UltraEdit because it supports syntax highlighting for many dozens of languages/environments.
The bad part is it runs on Windows - I think there is an X version coming out, dunno.
UltraEdit is a great editor but, as you said, it's Windows only. You can use the ftp save as but that is still not that great.

I prefer vi since it is just about on every Unix box that I've ever used and, once you get used to it, navigation and feature use is only a couple of keystokes away. A couple of features that are very handy are bookmarks, copy and paste buffers, launching a program and automatically reading its output into your text, lauching a program using your text as input. These will become second nature and you'll get going pretty fast. I kind of wish UltraEdit could switch on a vi mode once in awhile.

Thomas
Reply With Quote
  #7 (permalink)  
Old 06-21-2005
Registered User
 
Join Date: Feb 2005
Location: Ontario
Posts: 19
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
Started with vi, but quickly migrated to emacs. I just find it more powerful and easier to use, especially through an X window.
Reply With Quote
  #8 (permalink)  
Old 06-21-2005
Registered User
 
Join Date: Jun 2005
Location: New York City
Posts: 95
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
i see

I've actually never used VI to code anything.
But now that I'm reading all of your posts, I'm seriously reconsidering my decision.
Reply With Quote
  #9 (permalink)  
Old 06-21-2005
Neo's Avatar
Neo Neo is offline
Administrator
 
Join Date: Sep 2000
Location: Asia Pacific
Posts: 3,616
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
I use VI and VIM on the Linux and Unix command line. I've never used anything consistently but VIM and VIM in 18 years.

Neo
Reply With Quote
  #10 (permalink)  
Old 06-21-2005
google's Avatar
Moderator
 
Join Date: Jul 2002
Location: Atlanta
Posts: 740
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
VI and VIM ( I am not a big fan of the VIM colors - I turn them off). I also use EditPlus from time to time.
Reply With Quote
  #11 (permalink)  
Old 06-21-2005
Registered User
 
Join Date: Jan 2005
Posts: 678
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
Quote:
Originally Posted by Neo
I use VI and VIM on the Linux and Unix command line. I've never used anything consistently but VIM and VIM in 18 years.
...what is emacs anyway? Whoops, did I type that out loud?
Reply With Quote
  #12 (permalink)  
Old 06-22-2005
Registered User
 
Join Date: Jun 2005
Posts: 3
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
VI is the way to go! also Sun has improved VI editor in new solaris 10
Reply With Quote
  #13 (permalink)  
Old 06-24-2005
Registered User
 
Join Date: Jun 2005
Posts: 5
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
re: editors

i use vi, but hate it... if you are in your CDE, use the notepad editor.

jnsimpson02
Reply With Quote
  #14 (permalink)  
Old 06-24-2005
Registered User
 
Join Date: Oct 2002
Posts: 666
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
Quote:
Originally Posted by jnsimpson02
i use vi, but hate it... if you are in your CDE, use the notepad editor.

jnsimpson02
Learn vi and you will love it. I don't know anyone who *really* learned vi and hates it.
Reply With Quote
  #15 (permalink)  
Old 06-24-2005
google's Avatar
Moderator
 
Join Date: Jul 2002
Location: Atlanta
Posts: 740
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
I second what dangral posted - once you learn it you will love it - its a very powerful editor
Reply With Quote
  #16 (permalink)  
Old 06-24-2005
Registered User
 
Join Date: Jan 2005
Posts: 678
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
more to dangral and google's point: vi seems clumsy at first but once you have taken advantage of vi's considerable functionality once or twice, you won't be saying "I hate it" anymore. In fact, you're going to be quickly downloading a Windoze version.
Reply With Quote
  #17 (permalink)  
Old 06-25-2005
blowtorch's Avatar
Supporter
 
Join Date: Dec 2004
Location: Singapore
Posts: 2,292
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
vi is king!
Reply With Quote
  #18 (permalink)  
Old 06-25-2005
Perderabo's Avatar
Unix Daemon
 
Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,060
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
I have added a poll to this thread. If you would like another editor added to the poll, just say so in a reply.
Reply With Quote
  #19 (permalink)  
Old 06-25-2005
zazzybob's Avatar
Registered Geek
 
Join Date: Dec 2003
Location: Melbourne, Australia
Posts: 2,100
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
I agree that vi is the way to go. And if you know vi, you'll be able to use line editors such as ex and ed when you're using some screwy old terminal or coming in via a really slow modem or serial link.

Learning vi is a *huge* investment, and will be an invaluable skill to add to your Unix skillset....

BTW for those who are unsure - vi is pronounced Vee Eye. We've got people at work who pronounce it "Vie" and that is definitely not the done thing How we snigger

Cheers
ZB
Reply With Quote
  #20 (permalink)  
Old 06-26-2005
Registered User
 
Join Date: Jun 2005
Posts: 24
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
I use a computer

but normally ill also load an application up

normally Notepad or Crimson Text Editor for coding becuase Im Primerily a Microsoft Product
Reply With Quote