Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [
- {
- "args": {},
- "command": "zen_as_you_type",
- "context": [
- {
- "key": "selector",
- "match_all": true,
- "operand": "text.html, source.css, text.xml",
- "operator": "equal"
- }
- ],
- "keys": [
- "ctrl+alt+enter"
- ]
- },
- {
- "args": {},
- "command": "zen_css_mnemonic",
- "context": [
- {
- "key": "selector",
- "match_all": true,
- "operand": "source.css",
- "operator": "equal"
- }
- ],
- "keys": [
- "f1"
- ]
- },
- {
- //"argr_comment": "TODO",
- "args": {
- "0": "prop_value"
- },
- "command": "zen_css_mnemonic",
- "context": [
- {
- "key": "selector",
- "match_all": true,
- "operand": "meta.property-value.css",
- "operator": "equal"
- }
- ],
- "keys": [
- "f1"
- ]
- },
- {
- "args": {
- "contents": " id=\"$1\""
- },
- "command": "insert_snippet",
- "context": [
- {
- "key": "selector",
- "match_all": true,
- "operand": "text.html meta.tag -string -punctuation.definition.tag.begin.html -meta.scope.between-tag-pair.html",
- "operator": "equal"
- }
- ],
- "keys": [
- "#"
- ]
- },
- {
- "args": {
- "contents": " class=\"$1\""
- },
- "command": "insert_snippet",
- "context": [
- {
- "key": "selector",
- "match_all": true,
- "operand": "text.html meta.tag -string -punctuation.definition.tag.begin.html -meta.scope.between-tag-pair.html",
- "operator": "equal"
- }
- ],
- "keys": [
- "."
- ]
- },
- {
- "args": {
- "contents": "id=\"$1\""
- },
- "command": "insert_snippet",
- "context": [
- {
- "key": "selector",
- "match_all": true,
- "operand": "text.html meta.tag -string -punctuation.definition.tag.begin.html -meta.scope.between-tag-pair.html",
- "operator": "equal"
- },
- {
- "key": "preceding_text",
- "match_all": true,
- "operand": "\\s$",
- "operator": "regex_contains"
- }
- ],
- "keys": [
- "#"
- ]
- },
- {
- "args": {
- "contents": "class=\"$1\""
- },
- "command": "insert_snippet",
- "context": [
- {
- "key": "selector",
- "match_all": true,
- "operand": "text.html meta.tag -string -punctuation.definition.tag.begin.html -meta.scope.between-tag-pair.html",
- "operator": "equal"
- },
- {
- "key": "preceding_text",
- "match_all": true,
- "operand": "\\s$",
- "operator": "regex_contains"
- }
- ],
- "keys": [
- "."
- ]
- },
- {
- //"argr_comment": "TODO",
- "args": {
- "0": "$2"
- },
- "command": "set_html_syntax_and_insert_skel",
- "context": [],
- //"keyr_comment": "TODO",
- "keys": [
- "/html:/",
- "/\\w+/",
- "tab"
- ]
- },
- {
- //"argr_comment": "TODO",
- "args": {
- "0": "next_edit_point"
- },
- "command": "zen_action",
- "context": [
- {
- "key": "selector",
- "match_all": true,
- "operand": "text.html, text.xml",
- "operator": "equal"
- }
- ],
- "keys": [
- "ctrl+shift+period"
- ]
- },
- {
- //"argr_comment": "TODO",
- "args": {
- "0": "prev_edit_point"
- },
- "command": "zen_action",
- "context": [
- {
- "key": "selector",
- "match_all": true,
- "operand": "text.html, text.xml",
- "operator": "equal"
- }
- ],
- "keys": [
- "ctrl+shift+comma"
- ]
- },
- {
- //"argr_comment": "TODO",
- "args": {
- "0": "merge_lines"
- },
- "command": "zen_action",
- "context": [
- {
- "key": "selector",
- "match_all": true,
- "operand": "text.html, text.xml",
- "operator": "equal"
- }
- ],
- "keys": [
- "ctrl+j"
- ]
- },
- {
- //"argr_comment": "TODO",
- "args": {
- "0": "split_join_tag"
- },
- "command": "zen_action",
- "context": [
- {
- "key": "selector",
- "match_all": true,
- "operand": "text.html, text.xml",
- "operator": "equal"
- },
- {
- "key": "selection_empty",
- "match_all": true,
- "operand": true,
- "operator": "equal"
- }
- ],
- "keys": [
- "ctrl+shift+l"
- ]
- },
- {
- //"argr_comment": "TODO",
- "args": {
- "0": "go_to_matching_pair"
- },
- "command": "zen_action",
- "context": [
- {
- "key": "selector",
- "match_all": true,
- "operand": "text.html, text.xml",
- "operator": "equal"
- }
- ],
- "keys": [
- "ctrl+alt+n"
- ]
- },
- {
- //"argr_comment": "TODO",
- "args": {
- "0": "update_image_size"
- },
- "command": "zen_action",
- "context": [
- {
- "key": "selector",
- "match_all": true,
- "operand": "text.html",
- "operator": "equal"
- }
- ],
- "keys": [
- "ctrl+shift+i"
- ]
- },
- {
- //"argr_comment": "TODO",
- "args": {
- "0": "match_pair"
- },
- "command": "zen_action",
- "context": [
- {
- "key": "selector",
- "match_all": true,
- "operand": "text.html, text.xml",
- "operator": "equal"
- }
- ],
- "keys": [
- "ctrl+shift+n"
- ]
- },
- {
- //"argr_comment": "TODO",
- "args": {
- "0": "go_to_matching_pair"
- },
- "command": "zen_action",
- "context": [
- {
- "key": "selector",
- "match_all": true,
- "operand": "string",
- "operator": "equal"
- }
- ],
- "keys": [
- "ctrl+alt+n"
- ]
- },
- {
- //"argr_comment": "TODO",
- "args": {
- "0": "match_pair"
- },
- "command": "zen_action",
- "context": [
- {
- "key": "preceding_text",
- "match_all": true,
- "operand": "<",
- "operator": "regex_contains"
- },
- {
- "key": "selector",
- "match_all": true,
- "operand": "string",
- "operator": "equal"
- }
- ],
- "keys": [
- "ctrl+shift+n"
- ]
- },
- {
- //"argr_comment": "TODO",
- "args": {
- "0": "$1"
- },
- "command": "expand_css_value_abbr",
- "context": [
- {
- "key": "selector",
- "match_all": true,
- "operand": "meta.property-list.css meta.property-value.css",
- "operator": "equal"
- },
- {
- "key": "following_text",
- "match_all": true,
- "operand": "^[ ]+;",
- "operator": "regex_contains"
- }
- ],
- //"keyr_comment": "TODO",
- "keys": [
- "/[a-z]+/",
- "tab"
- ]
- },
- {
- //"argr_comment": "TODO",
- "args": {
- "0": "$1"
- },
- "command": "expand_css_value_abbr",
- "context": [
- {
- "key": "selector",
- "match_all": true,
- "operand": "meta.property-list.css meta.property-value.css",
- "operator": "equal"
- },
- {
- "key": "following_text",
- "match_all": true,
- "operand": "^;$",
- "operator": "not_regex_contains"
- }
- ],
- //"keyr_comment": "TODO",
- "keys": [
- "/[a-z]+/",
- "tab"
- ]
- },
- {
- //"argr_comment": "TODO",
- "args": {
- "contents": "expand_abbreviation"
- },
- // "command": "insert_snippet",
- "command": "zen_action",
- "context": [
- {
- "key": "is_zen",
- "operand": true,
- "operator": "equal"
- },
- {
- "key": "selection_empty",
- "match_all": true,
- "operand": true,
- "operator": "equal"
- },
- {
- "key": "num_selections",
- "operand": 1,
- "operator": "equal"
- },
- {
- "key": "selector",
- "match_all": true,
- "operand": "text.xml - meta.tag, text.html - source - meta.tag, punctuation.definition.tag.begin, meta.scope.between-tag-pair.html, source.css, source.js",
- "operator": "equal"
- }
- ],
- "keys": [
- "tab"
- ]
- }
- ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement