Live data from Hacker News

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

sublimetext.com

61–70 of 90 posts

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

#61

I love the UI, but can't seem to figure out how to open a directory without starting a new project. Am I missing something?

You can drag a folder onto the sidebar, or use the command line interface to open a folder. If you are on OS X you need to create a symlink for the subl executable http://www.sublimetext.com/docs/2/osx_command_line.html.

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

#62
post #61

I love the UI, but can't seem to figure out how to open a directory without starting a new project. Am I missing something?

You can drag a folder onto the sidebar, or use the command line interface to open a folder. If you are on OS X you need to create a symlink for the subl executable http://www.sublimetext.com/docs/2/osx_command_line.html .

Thanks for the suggestion. That's definitely an improvement.

Though from what I can tell, it just adds the folder to the current project, which feels a bit odd. And having to open up Windows Explorer instead of just doing a File > Open Directory is clunky.

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

#63
post #34

Earlier quoted context omitted.

Code Browser has a really interesting approach to organising your code. Does anyone know of any text editors/IDEs that implement code folding in a similar fashion for Mac OS X?

The source did actually compile on OS X once but he hasn't been keeping it up to date and now I get a segfault. I am considering throwing some hours at it because I really want it on my mac..

If you do decide to try and get it compiling then I would really appreciate it if you could let me know how you get on!

My email is in my profile.

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

#65
post #57

Earlier quoted context omitted.

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, visuall…

I would like to second this sentiment. That feature has become a vital part of how I navigate code, especially for projects that I am looking at for the first time.

It's the only thing preventing me from using SublimeText 2.

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

#66

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.

The userecho page on Code Folding has a lot of votes, though there's some speculation that it'd be pretty difficult to do with the current implementation of the editor control.

http://sublimetext.userecho.com/topic/19281-syntax-code-fold...

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

#67
I love Sublime.

If you're like me and prefers TextMate's simple cycling autocompletion (usually bound to the escape key) to Sublime's weird snippets-and-best-match tab completion, I made a Sublime Text plugin that gives you just that: https://github.com/alexstaubo/sublime_text_alternative_autoc...

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

#68
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?

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.

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

#69
post #61

Earlier quoted context omitted.

You can drag a folder onto the sidebar, or use the command line interface to open a folder. If you are on OS X you need to create a symlink for the subl executable http://www.sublimetext.com/docs/2/osx_command_line.html .

Thanks for the suggestion. That's definitely an improvement. Though from what I can tell, it just adds the folder to the current project, which feels a bit odd. And having to open up Windows Explorer instead of just doing a File > Open Directory is clunky.

The newest build has "Open Folder…" in the File menu.

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

#70
post #57

Earlier quoted context omitted.

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, visuall…

I would like to second this sentiment. That feature has become a vital part of how I navigate code, especially for projects that I am looking at for the first time. It's the only thing preventing me from using SublimeText 2.

SublimeText's minimap is not as feature rich as metal scroll, but its pretty useful in general as a nav tool. I often find myself wishing Chrome had a scrollable minimap.
Post reply on HN