Live data from Hacker News

Configuring Sublime Text 2

mutuallyhuman.com

31–40 of 92 posts

Re: Configuring Sublime Text 2

#31
Always wondering why the version '2' is emphasised heavily. Never heard of Sublime Text when it is version 1. The version number is part of the app binary file name. It is the only OS X app in my Mac that has the app name together with version number on the menu bar. Nothing wrong with this "unconventional", just that it will break a little thing when Sublime Text 3 is released. For example to change command prompt linking as in "ln -s /Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl /usr/local/bin/sublime".

Re: Configuring Sublime Text 2

#33

Always wondering why the version '2' is emphasised heavily. Never heard of Sublime Text when it is version 1. The version number is part of the app binary file name. It is the only OS X app in my Mac that has the app name together with version number on the menu bar. Nothing wrong with this "unconventional", just that it will break a little thing when Sublime Text 3 is released. For example to change command prompt l…

The entire Adobe Creative Suite does that. It's annoying.

Re: Configuring Sublime Text 2

#35

Always wondering why the version '2' is emphasised heavily. Never heard of Sublime Text when it is version 1. The version number is part of the app binary file name. It is the only OS X app in my Mac that has the app name together with version number on the menu bar. Nothing wrong with this "unconventional", just that it will break a little thing when Sublime Text 3 is released. For example to change command prompt l…

They're not too big on marketing. Doesn't matter; it still works great.

Re: Configuring Sublime Text 2

#37
post #28
post #3

My first piece of advice is to set up a command line alias for Sublime... Sublime ships w/ a command-line executable: /usr/bin/subl

This hasn't been working for me for some reason on OSX, the posted alternative however did work so I'm quite excited!

ah, on further inspection: I had created a symbolic link to /usr/bin

The actual executable is buried in Sublime's .app directory:

    Sublime Text 2.app/Contents/SharedSupport/bin/subl

Re: Configuring Sublime Text 2

#38
post #22

As a python programmer, these were the first two settings I configured after installing Sublime Text. "tab_size": 2, "translate_tabs_to_spaces": true You can either set them as Preferences > Settings - Default or Settings - Syntax specific

Uh, two space indentation in Python? Consistency is valuable. Everyone else who writes Python uses four spaces.

http://www.python.org/dev/peps/pep-0008/#indentation

Re: Configuring Sublime Text 2

#39
post #3

My first piece of advice is to set up a command line alias for Sublime... Sublime ships w/ a command-line executable: /usr/bin/subl

Nitpick: the trailing 'l' has always seems superfluous to me - my alias is 'sub'

the trailing 'ubl' has always seemed excessive to me:

    alias s='subl'

Re: Configuring Sublime Text 2

#40
post #38
post #22

As a python programmer, these were the first two settings I configured after installing Sublime Text. "tab_size": 2, "translate_tabs_to_spaces": true You can either set them as Preferences > Settings - Default or Settings - Syntax specific

Uh, two space indentation in Python? Consistency is valuable. Everyone else who writes Python uses four spaces. http://www.python.org/dev/peps/pep-0008/#indentation

This is a great reason to use tabs over spaces.
Post reply on HN