Live data from Hacker News

Ask HN: Best cross-platform code editor?

news.ycombinator.com

21–30 of 32 posts

Re: Ask HN: Best cross-platform code editor?

#21

I'm in love with ActiveState Komodo, and it works great on both platforms (and mac as well). I'm not sure if it has macros, but everything else you mentioned is right there. The editor is free, and the IDE version is not too expensive.

Second Komodo Edit. It even has Vi emulation if you want that :)

Re: Ask HN: Best cross-platform code editor?

#22
I recently switched from TextMate to MacVim. I had used vim and xemacs over the past two decades that I've been exposed to Unix system, but never put in the effort to really master them. I'd used various IDEs and editors, and was pretty happy with TextMate, but the long wait for TextMate 2 really showed me the importance of well-supported core tools; as a developer you can't get more core than your text editor and the emacs/vim communities are second only to Linux in terms of breadth and depth.

The reason I went with vim is because I believe it is as close to an optimal editor for arbitrary code and text as you can get. My first impressions were that emacs was about power through customizability, and vi was about raw efficiency. Customization is important, but personally I prioritize powerful editing slightly higher because it makes it easier to jump into new languages, and is particularly useful with sysadmin duties. Being skilled with vim pays dividends with every single new language I learn and technology I deploy, most of which are not important enough for me to invest in editor customizations. Now for my bread and butter language (Ruby/Rails in my case), investing in customizations is worth it, but even so, I will probably never go down the full-blown IDE road (unless the IDE is built around vim as a first-class citizen).

Not that I don't think true IDEs can't beat vim/emacs in productivity. It's relatively easy to become more productive in specific environments such as Visual Studio or IntelliJ, however that productivity falls off a cliff as soon as you leave the comfort of a properly supported language. At the end of the day, the promise of extreme productivity in producing reams of Java code is little comfort if I will be clumsy jumping into a language like Haskell where reams of code aren't necessary; I just don't want my incentives weighted that way.

Now as to the cross-platform issue, this is one of the most important to me, in large part because of the large number of servers I find myself logging into. However it's not just the MacWinLin axis, but also the temporal axis as well. Vim and emacs aren't going anywhere. They are too well-designed, and have too much mindshare to go away. Short of massive advances in AI and/or raw thought-input no one is going to come up with a more efficient general purpose keyboard editing than these tried and true methods. That's not to say that IDEs or editors like TextMate aren't bringing new advances to the table, but the best ideas will always make their way back to vim/emacs or vice-versa.

The learning curve of vim is indeed steep, and becoming fluent in its rich command set is a life-long project. That's okay because it's one of the few technologies that you can be sure will still be in widespread use 50 years from now. The cost of learning is heavily amortized and the interest heavily compounded. Overall it's the surest technology choice I've made since jumping from svn to git.

Re: Ask HN: Best cross-platform code editor?

#24

After years of using fancy 'modern' IDEs, I've gone to using Vim. (GVim/MacVim, actually.) I haven't found any features they lack that other IDEs have... And I suspect if I found one, I could code it up myself, if nobody else did it.

visual c++ debugging ? it has this?

Re: Ask HN: Best cross-platform code editor?

#25

I recently switched from TextMate to MacVim. I had used vim and xemacs over the past two decades that I've been exposed to Unix system, but never put in the effort to really master them. I'd used various IDEs and editors, and was pretty happy with TextMate, but the long wait for TextMate 2 really showed me the importance of well-supported core tools; as a developer you can't get more core than your text editor and th…

I completely agree with you, except that I value customization higher than you do, so I choose emacs.

Have you considered VIPER mode for emacs? I know it's not complete VI emulation but it's pretty close. If I was to start again (with no muscle memory built up) that is absolutely the way I would go.

Re: Ask HN: Best cross-platform code editor?

#26
I use Geany. It's not particularly featureful but it has some code completion, tabs, and highlighting support; the only thing I really miss over classic "power editors" is the deep programmability, which I don't actually like most of the time. I like sensible defaults so that when I reinstall there's zero hassle and I can just work immediately. (but I will admit to envying some of the more whiz-bang stuff that you get by bothering to really learn Vim/Emacs.)

Re: Ask HN: Best cross-platform code editor?

#29
Pick either Vim or Emacs and you'll cover 99.99999% of any possible raw text editing scenarios you can think of.

Here's some F# highlighting for vim: http://www.vim.org/scripts/script.php?script_id=2162

Jedit is ok, but I found it quite slow compared to vim. My own personal favourite is vim (as you can probably tell) but Emacs has some interesting extras that make it worthwhile learning too (such as org-mode).

Re: Ask HN: Best cross-platform code editor?

#30
post #13
post #12

Earlier quoted context omitted.

I was a long time vim user too. I switched to emacs after witnessing slime and clojure. I can't image life without org-mode anymore.

:) Agree. Org-mode is great! It's extremely simple and the best of all is that save everything into plain text files that you can track with any version control system.

Org-Mode can be easily considered a killer app for Emacs http://orgmode.org/
Post reply on HN