What editor does everyone use?

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.

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 ...

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

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.

1 Like

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.

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

Started with vi, but quickly migrated to emacs. I just find it more powerful and easier to use, especially through an X window.

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.

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

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.

...what is emacs anyway? Whoops, did I type that out loud? :smiley:

VI is the way to go! also Sun has improved VI editor in new solaris 10

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.

I second what dangral posted - once you learn it you will love it - its a very powerful editor

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. :smiley:

vi is king!

I have added a poll to this thread. If you would like another editor added to the poll, just say so in a reply.

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 :wink: How we snigger :smiley:

Cheers
ZB

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