Skip to content

Instantly share code, notes, and snippets.

@alto
Created June 27, 2012 09:30
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 alto/3002874 to your computer and use it in GitHub Desktop.
Save alto/3002874 to your computer and use it in GitHub Desktop.
My Keymapping and Preferences for Sublime Text 2
[
{ "keys": ["ctrl+shift+b"], "command": "git_blame" },
{ "keys": ["ctrl+w"], "command": "find_under_expand" },
{ "keys": ["super+ctrl+r"], "command": "reveal_in_side_bar" },
{ "keys": ["super+ctrl+w"], "command": "close_all" },
{ "keys": ["super+shift+t"], "command": "show_overlay", "args": {"overlay": "goto", "text": "@"} },
{ "keys": ["ctrl+shift+d"], "command": "duplicate_line" },
{ "keys": ["ctrl+l"], "command": "insert", "args": {"characters": " => "} },
{ "keys": ["super+shift+l"], "command": "expand_selection", "args": {"to": "line"} },
{ "keys": ["super+l"], "command": "show_overlay", "args": {"overlay": "goto", "text": ":"} },
{ "keys": ["super++alt+ctrl+c"], "command": "delete_trailing_spaces" },
{ "keys": ["ctrl+shift+."], "command": "erb" },
{ "keys": ["super+r"], "command": "build" },
{ "keys": ["ctrl+shift+j"], "command": "join_lines" },
{ "keys": ["super+forward_slash"], "command": "toggle_comment", "args": { "block": false } },
{ "keys": ["super+alt+forward_slash"], "command": "toggle_comment", "args": { "block": true } },
{ "keys": ["ctrl+shift+t"], "command": "todo", "args": {"open_files_only": false} },
{ "keys": ["f2"], "command": "next_bookmark" }
]
{
"auto_complete_commit_on_tab": true,
"bold_folder_labels": true,
"color_scheme": "Packages/Color Scheme - Default/Blackboard.tmTheme",
"ensure_newline_at_eof_on_save": true,
"file_exclude_patterns":
[
".DS_Store",
".tags*",
"*.pyc",
"*.pyo",
"*.exe",
"*.dll",
"*.obj",
"*.o",
"*.a",
"*.lib",
"*.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",
"script",
"tmp"
],
"font_face": "Monaco",
"font_size": 12,
"highlight_line": true,
"highlight_modified_tabs": true,
"ignored_packages":
[
"Vintage"
],
"line_padding_bottom": 0.5,
"line_padding_top": 0.5,
"new_window_settings":
{
"show_minimap": false
},
"rulers":
[
120
],
"save_on_focus_lost": true,
"tab_size": 2,
"theme": "Soda Light.sublime-theme",
"todo":
{
"case_sensitive": true,
"folder_exclude_patterns":
[
"vendor",
"system",
"log",
"alto",
"tmp"
],
"patterns":
{
"CHANGED": "CHANGED[\\s]*?:+(?P<changed>\\S.*)$",
"FIXME": "FIXME[\\s]*?:(.*)$",
"NOTE": "QUESTION[\\s]*?:+(?P<question>.*)$",
"TODO": "TODO[\\s]*?:+(?P<todo>.*)$"
}
},
"translate_tabs_to_spaces": true,
"trim_trailing_white_space_on_save": false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment