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:
Simplicity (I tend to like souped up versions of notepad, which is what EditPlus seems to be).
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 ...
IMO any editor you use should have these features:
syntax highlighting for a variety of languages; allows creation of custom hightlighting
programmable (or macros)
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.
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.
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.
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