Skip to content

Instantly share code, notes, and snippets.

@nirnaeth
Last active October 13, 2015 09:48
Show Gist options
  • Select an option

  • Save nirnaeth/9407744 to your computer and use it in GitHub Desktop.

Select an option

Save nirnaeth/9407744 to your computer and use it in GitHub Desktop.
Key Bindings ST3
[
{ "keys": ["super+alt+ü"], "command": "indent" },
{ "keys": ["super+alt+ö"], "command": "unindent" },
{ "keys": ["super+l"], "command": "show_overlay", "args": {"overlay": "goto", "text": ":"} },
{ "keys": ["ctrl+shift+<"], "command": "erb" },
{ "keys": ["super+shift+r"], "command": "reveal_in_side_bar" },
{ "keys": ["ctrl+l"], "command": "rails_latest_migration" },
// Toggle quotes
{
"keys": ["shift+alt+q"],
"command": "bh_key",
"args":
{
"lines" : true,
"plugin":
{
"type": ["single_quote", "double_quote", "py_single_quote", "py_double_quote"],
"command": "bh_modules.swapquotes"
}
}
},
// Select text between brackets
{
"keys": ["ctrl+shift+s"],
"command": "bh_key",
"args":
{
"lines" : true,
"plugin":
{
"type": ["__all__"],
"command": "bh_modules.bracketselect"
}
}
},
// Remove brackets
{ "keys": ["ctrl+shift+r"], "command": "bh_remove_brackets" },
{ "keys": ["ctrl+i"], "command": "expand_tabs" },
// Open Console
{ "keys": ["ctrl+#"], "command": "show_panel", "args": {"panel": "console", "toggle": true} },
// Align
{ "keys": ["ctrl+a"], "command": "alignment" },
{ "keys": ["shift+super+k"], "command": "toggle_side_bar" },
{ "keys": ["alt+m"], "command": "markdown_preview", "args": {"target": "browser", "parser":"markdown"} }
]
[
{ "keys": ["super+shift+k"], "command": "toggle_side_bar" },
{ "keys": ["super+shift++"], "command": "indent" },
{ "keys": ["super+shift+è"], "command": "unindent" },
{ "keys": ["super+l"], "command": "show_overlay", "args": {"overlay": "goto", "text": ":"} },
{ "keys": ["ctrl+shift+<"], "command": "erb" },
{ "keys": ["super+shift+r"], "command": "reveal_in_side_bar" },
{ "keys": ["super+shift+l"], "command": "rails_latest_migration" },
// Toggle quotes
{
"keys": ["shift+alt+q"],
"command": "bh_key",
"args":
{
"lines" : true,
"plugin":
{
"type": ["single_quote", "double_quote", "py_single_quote", "py_double_quote"],
"command": "bh_modules.swapquotes"
}
}
},
// Select text between brackets
{
"keys": ["ctrl+shift+s"],
"command": "bh_key",
"args":
{
"lines" : true,
"plugin":
{
"type": ["__all__"],
"command": "bh_modules.bracketselect"
}
}
},
// Remove brackets
{ "keys": ["ctrl+shift+r"], "command": "bh_remove_brackets" },
{ "keys": ["ctrl+i"], "command": "reindent" },
// Open Console
{ "keys": ["ctrl+#"], "command": "show_panel", "args": {"panel": "console", "toggle": true} },
// Align
{ "keys": ["ctrl+a"], "command": "alignment" }
]
// User settings for plugin
{
"resize_delta_default": 0.5
}
// Key bindings
{ "keys": ["super+r"], "command": "resize_active_group", "args" : { "direction" : "left" } },
{ "keys": ["super+l"], "command": "resize_active_group", "args" : { "direction" : "right" } },
@nirnaeth
Copy link
Author

nirnaeth commented Mar 7, 2014

Plugins:

  • BracketHighlighter
  • Git Gutter
  • Git
  • Enhanced Side Bar
  • Ruby Hash Converter
  • Resize Group with Keyboard

Optionals

  • Rails Latest Migration
  • Rails Migration List
  • Rails Related Files
  • Sublime Alignment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment