Live data from Hacker News

Sublime Text 2 Build 2181

sublimetext.com

11–20 of 115 posts

Re: Sublime Text 2 Build 2181

#11

Oi, that is a rough looking icon. There is a severe lack of contrast. The one from this article http://net.tutsplus.com/tutorials/tools-and-tips/sublime-tex... is worlds better.

yeah, not a fan of the new one. Tbh never really liked any of the icon factories work.

Re: Sublime Text 2 Build 2181

#12
post #9

My main objective with Sublime is to master the keyboard shortcuts. Stuff like (on the PC) Ctrl+D to select the current word, and repeat for next occurrences. This starts up a multiple-selection that you can just type and all selected occurrences are replaced. I forked a GitHub Gist from others and tweaked it a bit, for reference to useful shortcuts: https://gist.github.com/1736542

That reference is super useful. If you're on a Mac you can substitue Ctrl for cmd.

Re: Sublime Text 2 Build 2181

#15
Does anyone interested in this editor know how to associate file types with this app in bulk, rather than one by one in the "Open With ..." dialog?

Any other editor I have, informs the OS, and a:

    /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user
(or the equivalent for your particular version of OS X) will rebuild all those correctly. Sublime Text never appears in the file associations after a rebuild.

Background:

- http://macs.about.com/od/usingyourmac/qt/remove-duplicate-ap...

// Note: In Safari on Lion, that code line above is long and scrolls, invisibly here on HN.

Re: Sublime Text 2 Build 2181

#16
I wish you could tell it to not load some *.py files (they aren't part of the plugin and are included so I can use additional functionality).

The plugin's unload_handler() isn't run when quitting the app, which isn't very nice. @atexit.register also didn't work.

The plugin also won't reload when the source is changed. At least when there is a symlink in the Packages directory pointing to the plugin folder.

But the editor seems nice and will be a good editor after some UX and API work.

Re: Sublime Text 2 Build 2181

#18

Does anyone interested in this editor know how to associate file types with this app in bulk, rather than one by one in the "Open With ..." dialog? Any other editor I have, informs the OS, and a: /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user (or the equivalent for your particular version of OS X) will rebuild…

Try RCDefaultApp, which lets you choose default applications per file extension (amongst other means).

http://www.rubicode.com/Software/RCDefaultApp/

Re: Sublime Text 2 Build 2181

#19

Does anyone interested in this editor know how to associate file types with this app in bulk, rather than one by one in the "Open With ..." dialog? Any other editor I have, informs the OS, and a: /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user (or the equivalent for your particular version of OS X) will rebuild…

Isn't there an option to "Open all files like this" in the 'Open With' dialog?

Re: Sublime Text 2 Build 2181

#20
I've been using it more and more, but still use Coda for larger projects just so I can use the code navigator to get my head around the larger code base. I haven't seen anything like that for sublime yet...
Post reply on HN