Live data from Hacker News

Sublime Text 3 Beta

sublimetext.com

41–50 of 374 posts

Re: Sublime Text 3 Beta

#41
post #12

$30 for an upgrade seems a tad rich.

More like $20 after you write it off on your taxes. Seems like a steal to me. Intuit wants $170 to upgrade QuickBooks, Adobe wants $200 to upgrade Photoshop, and this little text editor adds more to my bottom line productivity than either.

Re: Sublime Text 3 Beta

#43
post #29

Coming from someone who has never used or tried Sublime Text, how does this compare to Vim in general? It's taken quite a while to grow familiar with Vim, is it worth the learning curve to ditch it now and try Sublime? Are the two really that different? A lot of what I'm seeing looks like things that can be done in Vim, but I might be missing something.

In ST2 there is Vintage mode, you can use most VI shortcuts I believe. http://www.sublimetext.com/docs/2/vintage.html

The vintage mode is excellent. It's the best emulation of vim that I've used.

Sadly I can't run ST2 on our work machines as the RHEL version we use has a libc (glibc?) that is too old. I'm unable to host my own libc due to a binary format change that is incompatible with the system dynamic loader.

Re: Sublime Text 3 Beta

#44

Coming from someone who has never used or tried Sublime Text, how does this compare to Vim in general? It's taken quite a while to grow familiar with Vim, is it worth the learning curve to ditch it now and try Sublime? Are the two really that different? A lot of what I'm seeing looks like things that can be done in Vim, but I might be missing something.

Sublime works better out of the box and is arguably prettier. But if you like modal editing then Sublime may not be for you.

There is Vintage mode, but IMO it doesn't work very well. The differences are small but numerous, and it's very annoying when the behaviour doesn't match Vim's. Others have rightly pointed out that many advanced features are missing, but I'm not talking about those - I'm talking about your bread and butter navigation/editing commands.

To make matters worse, while there is the occasional pull request, official development of Vintage mode seems to be at a complete halt.

I purchased Sublime and really, really tried switching to it (I think I gave it about six months), but I had to switch back.

Re: Sublime Text 3 Beta

#45

Coming from someone who has never used or tried Sublime Text, how does this compare to Vim in general? It's taken quite a while to grow familiar with Vim, is it worth the learning curve to ditch it now and try Sublime? Are the two really that different? A lot of what I'm seeing looks like things that can be done in Vim, but I might be missing something.

You can use a vim emulation mode in sublime so all your hard work wasn't for nothing but I believe some of the more advanced vim features don't work in sublime. The advantage of sublime is that it works well out of the box and with package control it is very easy to install any package you may need. If you decide to give it a try, try sublime 2 with package control (I believe the trial is still free for sublime 2).

The other advantage is having the same text editor on Windows, OS X and Linux. No more wishing you had TextMate in Windows, or Notepad++ in OS X.

Re: Sublime Text 3 Beta

#46

My pet peeve with editors is how they handle files changing underneath them. I do this regularly enough (eg I might make a quick change using vi, source control update), there could be ssh or sshfs involved, or another tool might be better for doing whatever it is that I wanted. Emacs has been the only editor that has never lost a change for me. Whenever you try to make a modification it checks the underlying file is…

> I tried SL2 and it quite happily ignored the fact that the file had changed.

Weird. I use Sublime Text 2 exclusively across all three platforms. Whenever an open file changes (e.g. I sync to Perforce), it pops up a modal dialog box when I bring that file's tab back into focus. If you're referring to a file that's changed in the background as you're actively editing it, I admit I haven't tried that.

Re: Sublime Text 3 Beta

#47

Goto definition and goto symbol? Oh my! Quick test and it works fairly well already. Definitely some enhancements I want (text preview) but I can already tell this will be a glorious upgrade.

I've had a good experience using ctags with ST2. Even on windows.

Re: Sublime Text 3 Beta

#48

My pet peeve with editors is how they handle files changing underneath them. I do this regularly enough (eg I might make a quick change using vi, source control update), there could be ssh or sshfs involved, or another tool might be better for doing whatever it is that I wanted. Emacs has been the only editor that has never lost a change for me. Whenever you try to make a modification it checks the underlying file is…

Wow .. wouldn't it be nice to get the diff lines highlighted in ST3. Then you get theirs/mine option on each line (with an 'all' option of course). Surely not hard to implement (if it's easy to say, it's easy to code, right??)

Considering the massive API changes (out of process etc) with the API this should be an awesome plugin!
Post reply on HN