Skip to content

Instantly share code, notes, and snippets.

@bigandy
Created March 9, 2016 19:19
Show Gist options
  • Save bigandy/636cf42607d08f98a96a to your computer and use it in GitHub Desktop.
Save bigandy/636cf42607d08f98a96a to your computer and use it in GitHub Desktop.
[
{ "keys": ["super+v"], "command": "paste_and_indent" },
{ "keys": ["super+shift+v"], "command": "paste" },
{ "keys": ["ctrl+super+w"], "command": "close_all" },
{ "keys": ["super+ctrl+e"], "command": "open_file", "args": {"file": "${project}" } },
// { "keys": ["super+down"], "command": "goto_definition" },
{ "keys": ["f4"], "command": "goto_next_error" },
{ "keys": ["shift+f4"], "command": "goto_prev_error" },
{ "keys": ["super+b"], "command": "toggle_side_bar" },
{
"keys": ["ctrl+alt+left"],
"command": "set_layout",
"args":
{
"cols": [0.0, 0.666, 1.0],
"rows": [0.0, 1.0],
"cells": [[0, 0, 1, 1], [1, 0, 2, 1]]
}
},
{
"keys": ["ctrl+alt+right"],
"command": "set_layout",
"args":
{
"cols": [0.0, 0.333, 1.0],
"rows": [0.0, 1.0],
"cells": [[0, 0, 1, 1], [1, 0, 2, 1]]
}
},
{
"keys": ["tab"],
"command": "expand_abbreviation_by_tab",
// put comma-separated syntax selectors for which
// you want to expandEmmet abbreviations into "operand" key
// instead of SCOPE_SELECTOR.
// Examples: source.js, text.html - source
"context": [
{
"operand": "meta.group.braces.round.js, text.html",
"operator": "equal",
"match_all": true,
"key": "selector"
},
// run only if there's no selected text
{
"match_all": true,
"key": "selection_empty"
},
// don't work if there are active tabstops
{
"operator": "equal",
"operand": false,
"match_all": true,
"key": "has_next_field"
},
// don't work if completion popup is visible and you
// want to insert completion with Tab. If you want to
// expand Emmet with Tab even if popup is visible --
// remove this section
{
"operand": false,
"operator": "equal",
"match_all": true,
"key": "auto_complete_visible"
},
{
"match_all": true,
"key": "is_abbreviation"
}
]
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment