Sublime Keybindings (Windows)
[
{ "keys": ["ctrl+b"], "command": "toggle_side_bar" },
// Kill Ring handling
{ "keys": ["ctrl+k"], "command": "sbp_kill_line"},
{ "keys": ["alt+k"], "command": "sbp_kill_to_end_of_sentence"},
{ "keys": ["ctrl+y"], "command": "paste" },
{ "keys": ["ctrl+shift+y"], "command": "sbp_yank_choice" },
{ "keys": ["alt+y"], "command": "sbp_yank_choice" },
{ "keys": ["ctrl+space"], "command": "sbp_set_mark" },
{ "keys": ["ctrl+c"], "command": "sbp_kill_ring_save" },
// Date Time Stamps
// {"keys": ["super+alt+ctrl+d"], "command": "add_date_time_stamp" },
// {"keys": ["super+alt+d"], "command": "add_date_stamp" },
{"keys": ["ctrl+shift+t"], "command": "add_top_line" },
// Browser Refresh
// {
// "keys": ["command+shift+r"], "command": "browser_refresh", "args": {
// "auto_save": true,
// "delay": 0.5,
// "activate_browser": true,
// "browser_name" : "Firefox"
// }
// },
// Bindings from Default
//
{ "keys": ["ctrl+d"], "command": "find_under_expand" },
//Close Tab
{ "keys": ["alt+w"], "command": "close" },
{ "keys": ["alt+n"], "command": "new_file" },
{ "keys": ["ctrl+g"], "command": "show_panel", "args": {"panel": "find"} },
{ "keys": ["ctrl+shift+g"], "command": "show_panel", "args": {"panel": "find_in_files"} },
{ "keys": ["ctrl+shift+d"], "command": "find_under_expand_skip" },
//{ "keys": ["ctrl+c"], "command": "copy" },
//
{ "keys": ["ctrl+u", "ctrl+u"], "command": "upper_case" },
{ "keys": ["ctrl+l", "ctrl+l"], "command": "lower_case" },
{ "keys": ["ctrl+r"], "command": "show_overlay", "args": {"overlay": "goto", "text": "@"} },
{ "keys": ["tab"], "command": "insert_best_completion", "args": {"default": "\t", "exact": true} },
{ "keys": ["ctrl+p"], "command": "prompt_select_project" },
{ "keys": ["ctrl+;"], "command": "toggle_comment", "args": { "block": false } },
{ "keys": ["ctrl+shift+;"], "command": "toggle_comment", "args": { "block": true } },
{ "keys": ["tab"], "command": "insert_best_completion", "args": {"default": "\t", "exact": false},
"context":
[ { "key": "setting.tab_completion", "operator": "equal", "operand": true } ]
},
{ "keys": ["tab"], "command": "replace_completion_with_next_completion", "context":
[
{ "key": "last_command", "operator": "equal", "operand": "insert_best_completion" },
{ "key": "setting.tab_completion", "operator": "equal", "operand": true }
]
},
{ "keys": ["tab"], "command": "reindent", "context":
[
{ "key": "setting.auto_indent", "operator": "equal", "operand": true },
{ "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true },
{ "key": "preceding_text", "operator": "regex_match", "operand": "^$", "match_all": true },
{ "key": "following_text", "operator": "regex_match", "operand": "^$", "match_all": true }
]
},
{ "keys": ["tab"], "command": "indent", "context":
[
{ "key": "text", "operator": "regex_contains", "operand": "\n" }
]
},
{ "keys": ["tab"], "command": "next_field", "context":
[
{ "key": "has_next_field", "operator": "equal", "operand": true }
]
},
{ "keys": ["tab"], "command": "commit_completion", "context":
[
{ "key": "auto_complete_visible" },
{ "key": "setting.auto_complete_commit_on_tab" }
]
}
]