Skip to content

Instantly share code, notes, and snippets.

@theskumar
Last active December 25, 2015 01:49
Show Gist options
  • Save theskumar/6897596 to your computer and use it in GitHub Desktop.
Save theskumar/6897596 to your computer and use it in GitHub Desktop.
Sublime Text User Keybindings
[
{ "keys": ["super+ctrl+s"], "command": "save_project_as" },
{ "keys": ["super+v"], "command": "paste_and_indent" },
{ "keys": ["super+shift+v"], "command": "paste" },
// Toggle word wrap
{
"keys": ["alt+w"],
"command": "toggle_setting",
"args":
{
"setting": "word_wrap"
}
},
{ "keys": ["command+j"], "command": "join_lines" },
{ "keys": ["f5"], "command": "toggle_side_bar" },
{ "keys": ["super+enter"], "command": "toggle_distraction_free" },
// side bar enhancements
{ "keys": ["ctrl+t"], "command": "side_bar_new_file2" },
{ "keys": ["f2"], "command": "side_bar_rename" },
// { "keys": ["ctrl+alt+f"], "command": "side_bar_find_files_path_containing" },
//vinatage mode activate
{ "keys": ["j", "j"], "command": "exit_insert_mode",
"context":
[
{ "key": "setting.command_mode", "operand": false },
{ "key": "setting.is_widget", "operand": false }
]
},
// split window helper
// { "keys": ["super+escape"], "command": "next_view_in_stack" },
// { "keys": ["super+right"], "command": "prev_view_in_stack" },
{ "keys": ["ctrl+tab"], "command": "next_view" },
{ "keys": ["ctrl+shift+tab"], "command": "prev_view" },
// More room on right side
{
"keys": ["super+alt+right"],
"command": "set_layout",
"args":
{
"cols": [0.0, 0.33, 1.0],
"rows": [0.0, 1.0],
"cells": [[0, 0, 1, 1], [1, 0, 2, 1]]
}
},
// More room on left side
{
"keys": ["super+alt+left"],
"command": "set_layout",
"args":
{
"cols": [0.0, 0.66, 1.0],
"rows": [0.0, 1.0],
"cells": [[0, 0, 1, 1], [1, 0, 2, 1]]
}
},
// easy way to move the files around
{ "keys": ["alt+1"], "command": "move_to_group", "args": { "group": 0 } },
{ "keys": ["alt+2"], "command": "move_to_group", "args": { "group": 1 } },
{ "keys": ["alt+3"], "command": "move_to_group", "args": { "group": 2 } },
{ "keys": ["alt+4"], "command": "move_to_group", "args": { "group": 3 } },
// focusing windows
{ "keys": ["super+1"], "command": "focus_group", "args": { "group": 0 } },
{ "keys": ["super+2"], "command": "focus_group", "args": { "group": 1 } },
{ "keys": ["super+3"], "command": "focus_group", "args": { "group": 2 } },
{ "keys": ["super+4"], "command": "focus_group", "args": { "group": 3 } },
{ "keys": ["super+0"], "command": "focus_side_bar" }
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment