Skip to content

Instantly share code, notes, and snippets.

@linjunpop
Last active December 10, 2015 06:18
Show Gist options
  • Select an option

  • Save linjunpop/4394015 to your computer and use it in GitHub Desktop.

Select an option

Save linjunpop/4394015 to your computer and use it in GitHub Desktop.
Sublime Text 2 Settings

Sublime Text 2 Settings

I use Vintage, for those who dont wanna use VIM like keybinding. Just ignore all Vintage related stuff.

Install Sublime Package Control

http://wbond.net/sublime_packages/package_control

Install Packages

  • CoffeeScript
  • Ctags
  • Git
  • GitGutter
  • Rails Related Files
  • Simple Rails Navigator
  • Ruby Slim
  • RubyTest
  • SCSS
  • SidebarEnhancements
  • SublimeCodeIntel
  • SublimeBlockCursor
  • Theme - Soda
  • TrailingSpaces
  • BeautifyRuby
  • Alternative Autocompletion
  • Apidock
  • VintageSurround
  • VintageEx
  • VintageLines
{
"file_exclude_patterns":
[
".DS_Store",
".tags*",
"*.pyc",
"*.pyo",
"*.obj",
"*.o",
"*.a",
"*.lib",
"*.log",
"*.so",
"*.dylib",
"*.ncb",
"*.sdf",
"*.suo",
"*.pdb",
"*.idb",
"*.class",
"*.psd",
"*.db",
"*.pdf"
],
"folder_exclude_patterns":
[
"data",
".git",
".svn",
".hg",
"CVS",
".sass-cache",
".bundle",
"bundle",
".rbx",
"bin",
"tmp",
"log",
"public/uploads",
"coverage"
],
"font_face": "Source Code Pro",
"font_size": 14.0,
"ignored_packages":
[
""
],
"tab_size": 2,
"theme": "Soda Dark.sublime-theme",
"translate_tabs_to_spaces": true,
"trim_trailing_white_space_on_save": true,
"vintage_start_in_command_mode": true,
"default_line_ending": "unix"
}
[
{ "keys": [";"], "command": "vi_colon_input", "context": [{ "key": "setting.command_mode", "operator": "equal", "operand": true } ] },
{ "keys": [" ", "m"], "command": "list_rails_models", "context": [{"key": "setting.command_mode"}] },
{ "keys": [" ", "c"], "command": "list_rails_controllers", "context": [{"key": "setting.command_mode"}] },
{ "keys": [" ", "v"], "command": "list_rails_views", "context": [{"key": "setting.command_mode"}] },
{ "keys": [" ", "h"], "command": "list_rails_helpers", "context": [{"key": "setting.command_mode"}] },
{ "keys": [" ", "x"], "command": "list_rails_fixtures", "context": [{"key": "setting.command_mode"}] },
{ "keys": [" ", "t"], "command": "list_rails_tests", "context": [{"key": "setting.command_mode"}] },
{ "keys": [" ", "i"], "command": "list_rails_javascripts", "context": [{"key": "setting.command_mode"}] },
{ "keys": [" ", "y"], "command": "list_rails_stylesheets", "context": [{"key": "setting.command_mode"}] }
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment