Skip to content

Instantly share code, notes, and snippets.

@javan
Created July 23, 2012 14:47
Show Gist options
  • Star 12 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save javan/3164018 to your computer and use it in GitHub Desktop.
Save javan/3164018 to your computer and use it in GitHub Desktop.
My Sublime Text 2 setup

Sublime Text 2

My user settings:

{
	"font_face": "Menlo",
	"font_size": 12,
	"theme": "Soda Light.sublime-theme",
	"color_scheme": "Packages/GitHub.tmTheme",
	"trim_trailing_white_space_on_save": true,
	"auto_complete_commit_on_tab": true,
	"tab_size": 2,
	"translate_tabs_to_spaces": true
}

My key bindings:

[
  { "keys": ["ctrl+shift+."], "command": "erb" },
  // Make paste-and-indent the default paste behavior
  { "keys": ["super+v"], "command": "paste_and_indent" },
  { "keys": ["super+shift+v"], "command": "paste" }
]

Bonus tip. I keep all my settings in Dropbox so they're easily shared/synced between computers:

$ ls -l /Users/javan/Library/Application\ Support/Sublime\ Text\ 2
lrwxr-xr-x  1 javan  staff  55 Jul  9 13:25 /Users/javan/Library/Application Support/Sublime Text 2 -> /Users/javan/Dropbox/Application Support/Sublime Text 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment