Live data from Hacker News

Sublime Text 2 (Build 2111) gets vi key bindings, indent guides

sublimetext.com

51–60 of 90 posts

Re: Sublime Text 2 (Build 2111) gets vi key bindings, indent guides

#51
post #45

Earlier quoted context omitted.

I've moved from TextMate to Sublime Text 2 over the past few weeks. The only thing I miss from TM is the ability to jump back to the last opened file with command-t. Has anyone managed to hack their config to enable that feature? I understand there are some callbacks available that might help, but I haven't figured out how to put them into action.

Ctrl+Tab and Ctrl+Shift+Tab navigate through the "stack" of recently opened views (files). Is this what you mean?

I missed that somehow, although it seems perfectly obvious now. I'm flexible enough to relearn a familiar key binding. (How often do you hear that in reference to a text editor?!)

Thanks!

Re: Sublime Text 2 (Build 2111) gets vi key bindings, indent guides

#52

I really wish that there was an auto-update. I've been using the beta for some time now, Jon's amazing constant updates actually becomes frustrating because you have download an installer every update. I would buy a license in an instant if this could be implemented.

Wait, which OS are you running? On the Mac, just opening the editor gives me this handy dialog (note the "Automatically download and install updates in the future" checkbox): http://cl.ly/0e2S0h0O011S0U3p2w0I

Re: Sublime Text 2 (Build 2111) gets vi key bindings, indent guides

#54
So looks like I need to give Sublime Text another shot.

I switched from ST1 to vim after almost a year of using ST2 exclusively for work. I very, very highly recommend you try Sublime Text out - I've used many editors, and Sublime Text is still, for me, almost the perfect mix of must-have features and ease of use. Alas, vim's amazing power was a little too much of a draw.

And if you try out Sublime Text, don't forget to check out it's killer feature (which doesn't have): Multiple Selections. They're the single most powerful non-obvious editor feature I've ever seen, and I greatly hope they make their way to every editor when people start to understand that.

In the meantime, this new vim mode might just might bring me back to ST2 full-time. Here's hoping!

Re: Sublime Text 2 (Build 2111) gets vi key bindings, indent guides

#57

Earlier quoted context omitted.

Couple of features I wish ST2 had: 1) Ability to rename files and tell that to git/any revision control while it does it. 2) Bundler integration to automatically add all bundles to the project so they can be searched on.

I wish it had code folding, and I wish I could do a block cursor instead of the | (easier to see) but I don't think those are hugely popular requests.

Last I've seen, code folding has been requested from day 1. And I see requests / lamentations / mentions of it every time discussions about it crop up, without exception.

Personally, as shiny as the scroll-preview is, the fact that it doesn't show the structure of the entire document makes it almost worthless to me. As much as I hate visual studio, MetalScroll[1] was fantastic. You can see functions by shape, visually navigate the entire file at a glance (though I have good visual memory, so that may be easier for me), and it shows folds, breakpoints, changed lines, and selections. ST2 shows... about a screen in either direction.

[1] http://code.google.com/p/metalscroll/

Re: Sublime Text 2 (Build 2111) gets vi key bindings, indent guides

#59
post #36

Jon (jskinner) has been doing a great job of continuous releases with a mix of new features and bug fixes. It is easily the best $60 I've ever spent on an editor or IDE. If you haven’t tried Sublime Text 2 before, I recommend taking it for a whirl. Most developers I've shown it to really like it. Here are some reasons it won me over: Multiple selections. Select a variable and then press Ctrl+d/Cmd+d a few times. Now…

Some more:

If you have indentation set to use spaces, you can hit tab and it will add 4 spaces, then hit backspace and it will delete all 4 spaces. Most text editors won't do that.

It matches parentheses and braces, but you can just ignore it. Type a '(' followed by a ')'. With every other graphical editor I've tried that has brace matching, you end up with '())'. With sublime, you end up with '()'.

Re: Sublime Text 2 (Build 2111) gets vi key bindings, indent guides

#60
post #55

Anyone able to get Zen Coding running on ST2? I'm following the instructions at: http://www.sublimetext.com/forum/viewtopic.php?f=2&t=580...

Myself and a number of my coworkers have installed it. You basically just need to clone it into a folder called ZenCoding inside of your Packages folder. You can find the Packages folder by going to the Preferences > Browse Packages… menu entry.

The alternative is using the package manager I wrote http://wbond.net/sublime_packages/package_control. This also gives you the benefit of automatic updates and a whole bunch of other packages at your fingertips.

Post reply on HN