Configuring Sublime Text 2
51–60 of 92 posts
Re: Configuring Sublime Text 2
#52The hardest part of configuring Sublime Text is the color scheme. It's written in some apple XML format that's hard to edit by hand.
Re: Configuring Sublime Text 2
#53Earlier quoted context omitted.
On OS X, they appear to do the same thing. On Windows, ctrl-t doesn't seem to do anything. I don't have Sublime set up on Linux so I can test there. I suspect the author has an older configuration since he's been using it for almost 2 years, and that the keybinding probably changed since then to cmd-p.
IIRC, ⌘P was Sublime's original mapping, and then ⌘T was added on Mac because the then-extremely-popular TextMate had a well-known ⌘T function that was similar.
Re: Configuring Sublime Text 2
#54Re: Configuring Sublime Text 2
#55Earlier quoted context omitted.
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'
Voila!
command_not_found_handle() {
[[ -e "$1" ]] && subl "$1"
}Re: Configuring Sublime Text 2
#56Here are two other sources that I found pretty useful when switching to Sublime. http://net.tutsplus.com/tutorials/tools-and-tips/essential-s... I'm not a huge fan of video sources when I could just look at images/read text and get it done faster, but these do offer some pretty good stuff. I was fond of him giving me the idea to use the Gist plugin, creating a new account, and have a great way to manage snippets. htt…
Re: Configuring Sublime Text 2
#57Re: Configuring Sublime Text 2
#58My 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!
Re: Configuring Sublime Text 2
#59My first piece of advice is to set up a command line alias for Sublime... Sublime ships w/ a command-line executable: /usr/bin/subl
find . | sublRe: Configuring Sublime Text 2
#60As 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