Skip to content

Instantly share code, notes, and snippets.

@flyfloor
Created November 10, 2015 10:31
Show Gist options
  • Select an option

  • Save flyfloor/90011ace93deb7c22ca6 to your computer and use it in GitHub Desktop.

Select an option

Save flyfloor/90011ace93deb7c22ca6 to your computer and use it in GitHub Desktop.
sublime key bind
[
// { "keys": ["ctrl+super+p"], "command": "swap_line_up" },
// { "keys": ["ctrl+super+n"], "command": "swap_line_down" },
// add to Preferences > Key Bindings - User
// see http://stackoverflow.com/a/26619524 for context
{ "keys": ["tab"], "command": "expand_abbreviation_by_tab",
"context": [
{
"operand": "source.js",
"operator": "equal",
"match_all": true,
"key": "selector"
},
{
"key": "selection_empty",
"operator": "equal",
"operand": true,
"match_all": true
}
]
},
{ "keys": ["tab"], "command": "next_field", "context":
[
{ "key": "has_next_field", "operator": "equal", "operand": true }
]
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment