Skip to content

Instantly share code, notes, and snippets.

@grahamb
Created June 20, 2012 20:06
Show Gist options
  • Select an option

  • Save grahamb/2961894 to your computer and use it in GitHub Desktop.

Select an option

Save grahamb/2961894 to your computer and use it in GitHub Desktop.
Sublime Text 2
[
{ "keys": ["ctrl+s"], "command": "toggle_side_bar" },
{ "keys": ["super+l"], "command": "show_overlay", "args": {"overlay": "goto", "text": ":"} },
{ "keys": ["super+v"], "command": "paste_and_indent" },
{ "keys": ["ctrl+enter"], "command": "run_macro_file", "args": {"file": "Packages/User/Line terminator and newline.sublime-macro"} },
{ "keys": ["alt+enter"], "command": "run_macro_file", "args": {"file": "Packages/User/Comma and newline.sublime-macro"} }
]
Package Control
SublimeLinter (lint js, css, etc in real-time)
SublimeCodeIntel (code intelligence plugin -- PHP, Python, RHTML, JavaScript, Smarty, Mason, Node.js, XBL, Tcl, HTML, HTML5, TemplateToolkit, XUL, Django, Perl, Ruby, Python3)
Probably more that I've forgotten -- I can't find a way to separate what I've installed from what comes bundled.
{
"color_scheme": "Packages/Color Scheme - Default/Solarized (Dark).tmTheme",
"detect_slow_plugins": false,
"font_size": 14,
"highlight_line": true,
"highlight_modified_tabs": false,
"hot_exit": false,
"remember_open_files": false,
"theme": "Soda Light.sublime-theme",
"translate_tabs_to_spaces": true,
"trim_trailing_white_space_on_save": true,
"use_tab_stops": true
}
{
"sublimelinter_popup_errors_on_save": true,
"javascript_linter": "jshint",
"jshint_options": {
"browser": true,
"node": true,
"curly": true,
"eqeqeq": true,
"evil": true,
"expr": true,
"jquery": true,
"latedef": true,
"laxcomma": true,
"newcap": false,
"noarg": true,
"noempty": true,
"onecase": false,
"shadow": false,
"strict": false,
"undef": true
},
"csslint_options": {
"ids": false
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment