Live data from Hacker News

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

sublimetext.com

81–90 of 90 posts

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

#82
post #77

Earlier quoted context omitted.

That only cycles between currently open tabs, so that's not quite the same. The genius of TextMate's go-to-file pane was that before you started typing, it would list your recently closed files, so the go-to-file pane had two functions in one, both servicing the need to open something that is not currently open.

That sounds like a mix of switching recent tabs and Goto File (ctrl+p/cmd+p).

Have you tried the "show files" panel? Ctrl/cmd-T. Works like TextMate's. Works like ctrl/cmd-P except it only accepts files, and will show a default file list when it opens.

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

#83
post #77

Earlier quoted context omitted.

That sounds like a mix of switching recent tabs and Goto File (ctrl+p/cmd+p).

Have you tried the "show files" panel? Ctrl/cmd-T. Works like TextMate's. Works like ctrl/cmd-P except it only accepts files, and will show a default file list when it opens.

Well, that was my original point above – the difference between cmd-T in TextMate vs. Sublime Text 2 is that TextMate ordered the files with the most recently opened at the top.

In TextMate, I got used to using cmd-t to jump back and forth between files. Minor thing, really. I just wondered if anyone hacked that same behavior into Sublime Text.

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

#84
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…

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.

Wish it could be hacked, but while you _can_ create search panels like that, you can't access the list of recently opened documents, as far as I've found.

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

#85
post #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 '()'.

Fyi, the Eclipse does bracket matching as well. In fact, I think Sublime Text borrows the concept partially from Eclipse. [1]

Eclipse is slightly if I remember correctly, since it lets you skip all closed braces with a tab. That way, typing (([tab] gives you (())_ , where _ is the cursor. Very convenient.

[1] I don't remember the details, but I remember that I posted a few lines to the Sublime Text forum, that fixed part of the way bracket matching worked to make it more like Eclipse. This was later put into Sublime Text proper. This is what I love - Jon actually looks at the things people are doing, and puts the good stuff directly into ST.

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

#86

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.

Wish it could be hacked, but while you _can_ create search panels like that, you can't access the list of recently opened documents, as far as I've found.

Sublime Text 1 had a plugin that gave a Most Recently Used shortcut to open recently closed documents. It used the file-opening hook, recording ever file to an sqlite DB.

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

#88
I've been using sublime text 2 for a month or so now and I am starting to become a big fan. I think that I'll purchase it soon. My requests...

1) Add all of the menu commands to the list of commands that show up when you press cmd-shift-p. It is very weird that some of the named commands (like convert to spaces) are available via cmd-shift-p, but others (like switch to 1 column view) are not.

2) I prefer the way textmate does multiple selection, where you can press a single key to toggle between regular selection mode and block selection mode.

Using cmd-shift-up/down in sublime text is very unpredictable. It works fine in the case you have several consecutive lines with no extra newlines in-between, but that is about it.

Though cmd-d to multi-select the next same word is pretty awesome.

3) Easier navigation between tabs in differnt split columns. I never remember the keys to switch between columns and I feel the existing normal tab management keys could do the job with a couple of tweaks.

For example, cmd-t is awesome, but I wish it was smart enough to automatically switch to an existing tab instead of opening a new tab with the same file in it.

Also, make cmd-shift-{ and cmd-shift-} move across all tabs and not just the tabs inside the currently selected column.

4) And lastly, the find in project results desperately need syntax coloring. It is so hard to scan a giant blob of plain white text.

Ackmate style file types would be nice too, but that isn't to big of a deal.

Again, awesome stuff. I can't wait to try out the vim bindings and I hope he keeps up the good work!

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

#89

ST2 is brilliant. If you're used to TextMate, I encourage you to give it a whirl. I think the trial version is an "unlimited" trial. It only nags you with a dialog box once in a while.

You should still buy it though. The authors made a great product and deserve to be compensated well for their work.

Indeed. I never meant to say you should use the unlimited trial forever.
Post reply on HN