Live data from Hacker News

Sublime Text 2.0 Released

sublimetext.com

161–170 of 358 posts

Re: Sublime Text 2.0 Released

#161

Earlier quoted context omitted.

I like it too. The main problem I have with it—and Textmate—is the lack of an emacs-like Follow-mode: http://www.gnu.org/software/emacs/manual/html_node/emacs/Fol... . It's 2012, I'm using a 27" monitor, and yet I can't find this feature, or one like it, in anything other than emacs, which has a learning curve far too steep for my pretty simple needs. At one point, the Textmate website mentioned that a follow-mode-li…

In Vim, you can bind several windows to scroll together by doing :scrollbind in each. It's a bit more manual than what you do in Emacs, but you could use this and some :vsplit'ing to achieve a result similar to the follow mode described at your link (though I'm not sure if Vim has the learning curve you're after).

There is also the multi page plugin: http://www.drchip.org/astronaut/vim/index.html#MPAGE

Re: Sublime Text 2.0 Released

#162

Earlier quoted context omitted.

I agree. It would be great to see some revenue numbers, if it's really successful (which I think it is), it would be a nice model for other developers or software companies.

Interestingly, I think this model works best for 'software for developers'. Developers naturally empathize with the author of their software much more so than a 'typical user' would.

Developers are typically very bad software customers. As much as they could empathize, more often than not, they think they could do it themselves in a couple of weekends.

Re: Sublime Text 2.0 Released

#163

Can I just say I love the pricing model. It's paid software, with an unenforced 'trial period'. Relying on coders who use a text editor all day and appreciate good software and want to compensate someone for their good software. +1 humans.

Plus the license allows me use it on all of my machines (Linux, OSX, Windows), at home or at work, for commercial or non-profit purposes.

That right there sold me- no issues at all getting purchase orders at work and regardless of the OS I'm using I still have the same editor.

Re: Sublime Text 2.0 Released

#164

Can I just say I love the pricing model. It's paid software, with an unenforced 'trial period'. Relying on coders who use a text editor all day and appreciate good software and want to compensate someone for their good software. +1 humans.

I agree. It would be great to see some revenue numbers, if it's really successful (which I think it is), it would be a nice model for other developers or software companies.

I'm fairly sure he's made really quite a large chunk of dollar out of it already. Especially after he started forcing people to pay up if they wanted the very latest builds. That was a stroke of genius.

Re: Sublime Text 2.0 Released

#165
post #60

Based on the great reviews of ST2, I switched from vim to ST2 (with vintage mode) a few months ago. It seems good... but it hasn't lived up to the reviews for me. I'm guessing I'm missing some of the functionality. Is there a tutorial anywhere to show me what I'm missing? How have you learned about ST2 features (rather than just repeating your old editing habits in a new program)?

I learned ST2 from my coworkers, who were all using it. Now I'm learning vim much the same way. I've switched to vim fulltime from ST2, and here are the features of ST2 that I miss:

1. Multiple cursors. This is the only reason I ever use ST2 now. They're sort of like vim's visual block mode, except on steroids. For example, if you have multiple cursors, you can start typing and each cursor will behave as in insert point. Each cursor can also move independently, which means you can do things like moving word-wise or line-wise over lines which are not heterogeneous. Using Cmd + D, you can add selections, and then they're multiple cursors. This ends up replacing things like find-replace for me, because it's so fast and easy.

I should make a video of me using multiple cursors, because I feel I'm not explaining it well at all.

2. Cmd+p/goto-anything. Suppose I want to go to the getUser method of the auth class. All I have to do is hit Cmd + p, then type “Au@getUser”. As I type, a window appears with filenames, so first I type, “Au”, and then seeing that “Auth.php” is at the top, I type an @, which tells ST2 I'm now looking for a method, it then starts searching for methods within Auth.php.

Now, with vim I use Cmd-T, but that only gets me to the file, and it's kind of a bitch to get it working. It also has a thing to navigate methods, but I have to use something called tags, which means a) I have to figure out what the hell that is and b) I have to fiddle with getting it all setup. All that time could be spent programming. Mmmm, programming. I understand ctrlp makes some of this better, but I haven't tried it yet.

3. Better platform integration. With vim, there's a bunch of weird shit I have to do to get the clipboard working properly (including recompiling vim o_O), and the mouse seems janky. I mostly never use the mouse anyway, but the clipboard issues are annoying.

4. Python API vs vimscript. I wrote a couple of small plugins for ST2, which was nice and easy, because everybody knows python, and the API is modern and well thought out. With vim, I feel like it's a whole different matter, starting with learning a new programming language.

Re: Sublime Text 2.0 Released

#166

Interesting, but no preference panels for OS X? How is one supposed to change settings if they're in a language the user doesn't know well? Apparently, there's some sort of binding thing going on, which I overlooked and now can't find a way to examine/redo? Additionally, some prefs are plists, some are python, and some look like they might be Textmate preferences.

Everything is in text files. This is awesome if you want to move your config to a different machine (or gasp OS). Give it a try. It is not as bad as it looks on first sight. You'll get used to it and probably appreciate it a bit in no time.

I think I'd change editors before I changed to a different OS. These days, pretty much everything can be done from one machine.

From where I sit, I can work with 6 different OS'es (yeah, it's a jungle) all from the comfort of OS X.

I get that this is a programmer's editor and so maybe a certain amount of "roughness" in design is appropriate. But I'd rather spend my time customizing my own apps than trying to figure out how to change one setting in my editor.

I can also understand if ST just isn't there yet as far as preferences go. Each OS or flavor thereof has it's own convoluted methods of writing that piece of the UI, but it's an important piece as far as OS X goes. Without it, ST will always feel like an incomplete product (in the half-baked sense, not the future development sense).

Sorry, but first impressions matter. Up against BBEdit and even old Textmate, ST seems to only have one thing going for it (the visual navigator) and that's not nearly enough to make me even more than momentarily interested.

This looks and feels very much like an alpha product or charitably, even a beta. But it definitely doesn't feel like something that should be a version 2 and charging $60 for the privilege of using it.

Re: Sublime Text 2.0 Released

#167
post #74

Earlier quoted context omitted.

Command-T gives you similar functionality in Vim. It's great. https://github.com/wincent/Command-T

I've found Command-T slows way down on large trees, causing a very noticeable interruption in my "flow" when I use it. Also, it's written in ruby which can be a bit more painful to get started with if your distro doesn't compile ruby support into vim by default.

Do you find that it slows down only the first time you use it within an editing session, or everytime you use it? If only the first time, I've got a fork which caches the files to disk, so that you don't hit that slowdown very often. The downside is that when you add new files, you have to bust that cache.

Re: Sublime Text 2.0 Released

#168

Hm, Am I the only one who spends hours in vim each day with ~15 lines in my .vimrc and almost zero plugins? At some point I think I realized that no matter how feature-rich my editor was, the main thing stopping me from writing good and fast code was _thinking_, not configuring my text editor.

I think, in these days, it is not too much to ask for the intelligent completion, e.g. when you type dot or arrow, to get corresponding members of class/struct - the information is just there and the editor has enough power to parse it...

Same goes for a very simple word completion - when the editor already encountered the word in the previous line.

These are just _very_ basic things.

Re: Sublime Text 2.0 Released

#169
Congrats to jps. A serious piece of software, and a development style that we can all aspire to.

Allow me to recommend the SublimeLinter plugin. Its name should be self explanatory.

https://github.com/SublimeLinter/SublimeLinter

Also, for those asking about discovering functionality, have a browse of the default key binding definition files, it is enlightening.

Re: Sublime Text 2.0 Released

#170
post #144

Earlier quoted context omitted.

Something like this: https://gist.github.com/2996793 (16 lines, but you get the point).

Can I ask why you disable the swap file? As someone with a computer that is horribly unstable (in the process of replacing it over the course of next month), the swap file has saved my ass on a few occasions.

Possibly to speed up opening large files. There is a plugin that does this for files above a configured size.
Post reply on HN