News for hackers. Stuff that matters.
Re:Textmate2 Goes Open Source by ryanisinallofus on Thursday August 09, 2012 @01:14PM (#4362059)
ST2 is native enough for me and cross-platform should be on the list of every programmer's requirements for a text editor.

I use Vim on OS X right now and I like it but used ST2 just yesterday (odd timing). I agree with others that it is basically the TM2 we were waiting for.

Re:Textmate2 Goes Open Source by zekel on Thursday August 09, 2012 @04:33PM (#4363075)
> ST2 is native enough for me and cross-platform should be on the list of every programmer's requirements for a text editor.

I used to feel this way. I worked really hard to make all my configs and editors act the same across OS X and a few unix platforms. Then one day I woke up and decided I just wanted to work with the best editor on the best platform. (Both personal, subjective opinions, of course.) And that choice has worked out great for me.

When I was first looking at Sublime Text and I saw it as a disadvantage when I noticed they had Windows version. I don't mean to come across as smug, I just mean that I fundamentally feel that OS X is a lot better than Windows. (A personal opinion.) My point is that I need to be philosophically aligned with my editor's developer. And if they have chosen to support Windows, they could have spent that time pushing the OS X app forward, which doesn't align with my position. I want the best editor possible, not the best editor on every platform.

The other way I look at it is to applaud their ambition and results with creating a great cross platform editor. I think cross platform software is incredibly important, but I would paradoxically prefer my editor was not. In other words, I'm glad that ST exists, but I don't it's for me.

Re:Textmate2 Goes Open Source by tterrace on Thursday August 09, 2012 @05:46PM (#4363434)
> My point is that I need to be philosophically aligned with my editor's developer.

This is taking things a bit too far, I think. If you're a one platform kind of person the most important thing should be "How well does it work on (my platform)?".

Re:Textmate2 Goes Open Source by zekel on Thursday August 09, 2012 @08:17PM (#4364125)
You're right, that is absolutely the most important thing. But as we've seen with TM, the way the project is run is really important too. It's a totally self-centered sentiment to say I wish my editor development to be exclusive to my platform, but it would certainly result in a better app for me to use.

Luckily my preferences have nothing to do with the outcome, much like the weather.

Re:Textmate2 Goes Open Source by antihero on Thursday August 09, 2012 @09:09PM (#4364283)
Well, depending on preference and opinion, a Linux desktop can arguably be better than OSX for development. I applaud that they have a Linux version.
Re:Textmate2 Goes Open Source by zekel on Friday August 10, 2012 @10:59AM (#4366440)
I thought about this a little more Considering the amount of attention that specific software licenses get with regards to choosing software, I think it's not so uncommon to want to be philosophically in line with your app of hooves developer.
Re:Textmate2 Goes Open Source by ryanisinallofus on Friday August 10, 2012 @02:38AM (#4365186)
The fact that they have a windows version is nice, but when I say cross platform I mostly mean Mac/Linux. It's one of the main reasons I chose vim in the first place. Mac/Linux/Windows GUI/Terminal. And not to start a flame war: OS X isn't getting any better for developers. It's ok. It's just not their main focus. Lucky for everyone Linux is rad and getting better all the time. Now if only there was a cross platform Fireworks like program I could switch for good...

And while it's unlikely: I may find myself in a position where I have to use Windows. I'll be glad not to need to learn a new editor I don't want to. Or maybe I'm away from my Macbook and I want to code? We aren't all complete masters of our own destiny like DHH. I like to be prepared. :)

Re:Textmate2 Goes Open Source by eblume on Thursday August 09, 2012 @02:50PM (#4362583)
If you haven't heard of it, ST2 has something called "Vintage Mode" which adopts a fairly large subset of the Vi/m commands. It will completely change the command set of ST2 and gets close enough to Vi for most of my needs. Notably absent is the search/replace syntax of vim, but ST2's works well enough I suppose.
Re:Textmate2 Goes Open Source by jjjjjosh on Thursday August 09, 2012 @03:55PM (#4362904)
The VintageEx extension for Sublime includes vim-style search and replace, among many other things.
Re:Textmate2 Goes Open Source by eblume on Thursday August 09, 2012 @04:35PM (#4363088)
Excellent - Thanks!
Re:Textmate2 Goes Open Source by robmil on Thursday August 09, 2012 @04:59PM (#4363199)
Vintage mode is admittedly getting more complete every day, but as a regular Vim user the absences that exist are often a jolting distraction — attempting to use some command that doesn't exist jerks you out of your flow and it feels so inefficient to then have to remember the Sublime way of doing things.

I find it more annoying than the lack of, say, Cmd + T in MacVim, so I've found myself spending more and more time using that — even after a concerted effort to use SublimeText for a while.

Re:Textmate2 Goes Open Source by haldean on Friday August 10, 2012 @10:04AM (#4366188)
This is the biggest problem with learning vim. I was an Emacs user for ages, and I could use other text editors fine. The "Emacs mode" in them usually just meant readline hotkeys: C-p and C-n for previous/next line, C-a and C-e for beginning and end of line, and C-k for delete line. These are the only real movement commands I used in Emacs, and they work in almost anything. Even nano has most of these.

But now my hands are wrecked. My fingers have minds of their own. My muscles have learned a subset of vim that does not seem to be a subset of any vim plugin maintainer's usage. I'll be in Vimperator or Eclipse vi-mode or Vintage and I'll hit cf" and nothing will happen, and I'll realize I'm completely lost. I lose my chain of thought and it takes me a non-negligible amount of time to realize that I'm going to have to hold down shift and use the arrow keys like some sort of Notepad user. I become irrationally angry and wish horrible torture upon the poor soul who wrote the (altogether pretty good) vim plugin I'm using, because who are they to not include EVERY SINGLE VERB AND NOUN that my fingers have painstakingly learned over the past few years. I slam my keyboard against the table, throw the mouse through the monitor, then roundhouse-kick the tower off the desk before I set fire to my desk every time a vim plugin is incomplete.

Vim has reduced me to a pathetic teary wreck every time I have to use a text editor that isn't vim.

I wrote this in vim.

Re:Textmate2 Goes Open Source by eblume on Thursday August 09, 2012 @07:25PM (#4363896)
Just in case you missed it, another replier mentioned an additional package, VintageEx. I just gave it a try and all of a sudden all the things I was still missing from vim are in ST2!

I recommend giving that a shot, but I do completely understand your reluctance. You're right, the absences are jarring!

Re:Textmate2 Goes Open Source by ryanisinallofus on Friday August 10, 2012 @02:41AM (#4365189)
I turned on Vintage mode within the first hour. Pretty nice! Funny how the single thing that turns so many off of vim initially becomes the thing you can't live without when checking out other editors.
Re:Textmate2 Goes Open Source by ketralnis on Friday August 10, 2012 @03:10PM (#4367703)
> cross-platform should be on the list of every programmer's requirements for a text editor

As a member of the set of "every programmer", I have to disagree with this. I develop on the same machine every day. I don't care if my editor is cross-platform. I just want a good editor. It being performant and feeling "nice" for my purposes is way more important to me than being able to use it on machines where I won't ever use it.

Re:Textmate2 Goes Open Source by jolohaga on Thursday August 09, 2012 @08:52PM (#4364224)
Why should a cross-platform editor be important? Any job I do these days allows me to work in my preferred system. The code is just ASCII and it can be shared easily.