Skip to content

Instantly share code, notes, and snippets.

@Fannon
Created July 12, 2012 11:10
Show Gist options
  • Save Fannon/3097478 to your computer and use it in GitHub Desktop.
Save Fannon/3097478 to your computer and use it in GitHub Desktop.
keymap
[
{
"keys": [
"f1"
],
"args": {},
"command": "zen_as_you_type",
"context": [
{
"operand": "source.css - source.css.embedded, text.xml, text.html -source -meta.tag, meta.scope.between-tag-pair.html -source",
"operator": "equal",
"match_all": true,
"key": "selector"
}
]
},
{
"keys": [
"f1"
],
"command": "wrap_zen_as_you_type",
"context": [
{
"operand": "text.html meta.tag - string - meta.scope.between-tag-pair.html",
"operator": "equal",
"match_all": true,
"key": "selector"
}
]
},
{
"keys": [
"f1"
],
"command": "wrap_zen_as_you_type",
"context": [
{
"operand" : false,
"key" : "selection_empty",
"match_all": true,
"operator" : "equal"
},
{
"key" : "num_selections",
"operand" : 1,
"operator" : "equal"
}
]
},
{ "keys": ["f2"], "command": "show_overlay", "args": {"overlay": "command_palette"} },
{ "keys": ["f3"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true} },
{ "keys": ["f4"], "command": "show_panel", "args": {"panel": "console", "toggle": true} },
{ "keys": ["f5"], "command": "find_next" },
{ "keys": ["shift+f5"], "command": "find_prev" },
{ "keys": ["ctrl+f5"], "command": "find_under" },
{ "keys": ["ctrl+shift+f5"], "command": "find_under_prev" },
{ "keys": ["alt+f5"], "command": "find_all_under" },
{ "keys": ["ctrl+e"], "command": "slurp_find_string" },
{ "keys": ["f6"], "command": "next_result" },
{ "keys": ["shift+f6"], "command": "prev_result" },
{ "keys": ["f8"], "command": "build" },
{
"keys": ["f9"],
"command": "set_layout",
"args":
{
"cols": [0.0, 1.0],
"rows": [0.0, 1.0],
"cells": [[0, 0, 1, 1]]
}
},
{
"keys": ["f10"],
"command": "set_layout",
"args":
{
"cols": [0.0, 0.5, 1.0],
"rows": [0.0, 1.0],
"cells": [[0, 0, 1, 1], [1, 0, 2, 1]]
}
},
{ "keys": ["f12"], "command": "toggle_side_bar" },
{ "keys": ["ctrl+d"], "command": "gist_private"},
{ "keys": ["ctrl+alt+v"], "command": "validate" },
{ "keys": ["ctrl+alt+enter"], "command": "upper_case" }
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment