Skip to content

Instantly share code, notes, and snippets.

@sporkd
Forked from bensie/file-user.json
Created December 12, 2011 23:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sporkd/1469725 to your computer and use it in GitHub Desktop.
Save sporkd/1469725 to your computer and use it in GitHub Desktop.
Sublime Settings
{
"color_scheme": "Packages/Color Scheme - Default/Cobalt.tmTheme",
"font_size": 13.0,
"ensure_newline_at_eof_on_save": true,
"tab_size": 2,
"draw_white_space": "all",
"translate_tabs_to_spaces": true,
"trim_trailing_white_space_on_save": true
}
{
"ignored_packages": []
}
[
// Duplicate the current line
{ "keys": ["ctrl+shift+d"], "command": "duplicate_line" }
]
mkdir -p ~/bin
ln -s "/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl" ~/bin/subl
# To install “Package Control,” open Sublime and press Control + `. Next, paste the following snippet into the console.
import urllib2,os;pf='Package Control.sublime-package';ipp=sublime.installed_packages_path();os.makedirs(ipp) if not os.path.exists(ipp) else None;open(os.path.join(ipp,pf),'wb').write(urllib2.urlopen('http://sublime.wbond.net/'+pf.replace(' ','%20')).read())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment