Live data from Hacker News

Ask HN: Best code editor?

news.ycombinator.com

131–136 of 136 posts

Re: Ask HN: Best code editor?

#131

If you're a unix dev and want to be taken seriously, use Emacs or vim. Otherwise people will just laugh at you behind your back. Or to your face.

Or joke about you in irc while secretly not using either tool themselves.

This just summed up exactly why I don't use IRC anymore.

Re: Ask HN: Best code editor?

#132
post #3

vim

another +1, but you need to learn to use it properly. Tags, windows, changing files, external commands, macros, etc. It's not user friendly, in fact it's downright user hostile, but it's powerful, and written for hackers.

You don't really have to learn how to use all the bells and whistles for it to be effective and ideal. Heck, I use it because it saves me having to transfers files or allows me to develop on a separate box through ssh if I don't feel like setting up expand drive or the likes.

Also, hjkl is the most beautiful thing I've ever experienced, I constantly wish TextMate and VisualStudio gave me the separation from edit/navigate mode like VIM does.

Re: Ask HN: Best code editor?

#133

Earlier quoted context omitted.

:h windows I prefer using tabs with Vim. Here's a short overview: * :tabnew to open a new tab. * :tabe to edit a file in a new tab. * :q or :close to close a tab. * :tabnext and :tabprevious to move between tabs. * Ctrl+PgUp and Ctrl+PgDown are bound to :tabnext and :tabprevious. On my MacBook, I bind those to Cmd+[ and Cmd+]. * And, of course, :h tabs to find help.

I have added these line in my .vimrc. map th :tabnext map tl :tabprev map tn :tabnew map td :tabclose

Why th and tl? You already have gt and gT.

Re: Ask HN: Best code editor?

#134
post #43

Earlier quoted context omitted.

I won't necessarily dispute this, but those "resources" on my system are there to be used. Sometimes it seems like people buy quad-core machines and 8GB of RAM, and then are angry if an app uses more than 1% of CPU and a few MB of that RAM. I'm not going to sit here and say that Eclipse's hour-long startup time doesn't annoy me, though...

The hour long startup time was what I had in mind, time is my most precious resource. The RAM I couldn't care about, that's fairly cheap these days. I haven't a clue what that software does when it starts up but there has to be some way to optimize it. Intellij is not much better.

Anything that takes more than a minute to load when my system has a load average of 35 is simply not worth using.

It's why I gave up on Eclipse a while back. (Well, that, and its tendency to crash with out-of-memory exceptions when using the syntax parser set to "full." That was the final straw.)

Re: Ask HN: Best code editor?

#135
post #2

UltraEdit and Komodo are good. Komodo has a free version, I think.

Komodo Edit. It's open source. http://www.activestate.com/komodo_edit/

I've been using Komodo Edit a lot lately. The nice thing is that I get the same editor in Windows, Mac OS X, and Linux. And the snippets are nice, similar to TextMate.
Post reply on HN