|
/* Default (OS X).sublime-keymap */ |
|
/* Key Bindings - User */ |
|
[ |
|
{ "keys": ["ctrl+shift+."], "command": "erb" }, |
|
{ "keys": ["super+shift+t"], "command": "show_overlay", "args": {"overlay": "goto", "text": "@"} }, |
|
{ "keys": ["ctrl+super+r"], "command": "reveal_in_side_bar" }, |
|
|
|
// swap normal paste and paste-with-indention |
|
{ "keys": ["super+v"], "command": "paste_and_indent" }, |
|
{ "keys": ["super+shift+v"], "command": "paste" }, |
|
|
|
// https://github.com/alexstaubo/sublime_text_alternative_autocompletion |
|
{ "keys": ["escape"], "command": "alternative_autocomplete", "context": |
|
[ |
|
{ "key": "num_selections", "operator": "equal", "operand": 1 }, |
|
{ "key": "overlay_visible", "operator": "equal", "operand": false }, |
|
{ "key": "panel_visible", "operator": "equal", "operand": false } |
|
] |
|
}, |
|
{ "keys": ["shift+escape"], "command": "alternative_autocomplete", "args": {"cycle": "previous"}, "context": |
|
[ |
|
{ "key": "num_selections", "operator": "equal", "operand": 1 }, |
|
{ "key": "overlay_visible", "operator": "equal", "operand": false }, |
|
{ "key": "panel_visible", "operator": "equal", "operand": false } |
|
] |
|
}, |
|
// CTags |
|
{ |
|
"command": "navigate_to_definition", |
|
"keys": ["super+j", "super+j"] |
|
}, |
|
{ |
|
"command": "search_for_definition", |
|
"keys": ["super+shift+j", "super+shift+j"] |
|
}, |
|
{ |
|
"command": "jump_back", |
|
"keys": ["super+k", "super+k"] |
|
}, |
|
{ |
|
"command": "jump_back", |
|
"args": {"to": "last_modification"}, |
|
"keys": ["super+shift+k", "super+shift+k"] |
|
}, |
|
{ |
|
"command": "rebuild_tags", |
|
"keys": ["super+;", "super+;"] |
|
}, |
|
{ |
|
"command": "show_symbols", |
|
"context": [ |
|
{ |
|
"key": "selector", |
|
"match_all": true, |
|
"operand": "source -source.css", |
|
"operator": "equal" |
|
} |
|
], |
|
"keys": ["super+l", "super+l"] |
|
}, |
|
{ |
|
"command": "show_symbols", |
|
"args": {"type": "multi"}, |
|
"context": [ |
|
{ |
|
"key": "selector", |
|
"match_all": true, |
|
"operand": "source -source.css", |
|
"operator": "equal" |
|
} |
|
], |
|
"keys": ["super+shift+l", "super+shift+l"] |
|
} |
|
] |