Skip to content

Commit

Permalink
- add context to example key bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
DisposaBoy committed Jan 2, 2012
1 parent 7f932cb commit 18e6574
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion examples/Default.sublime-keymap.example
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
[
{ "keys": ["ctrl+shift+e"], "command": "gs_fmt" },
{ "keys": ["ctrl+shift+e"], "command": "gs_fmt", "context": [{ "key": "selector", "operator": "equal", "operand": "source.go" }] },
{ "keys": ["ctrl+s"], "command": "gs_fmt_save", "context": [{ "key": "selector", "operator": "equal", "operand": "source.go" }]},
{ "keys": ["ctrl+shift+s"], "command": "gs_fmt_prompt_save_as", "context": [{ "key": "selector", "operator": "equal", "operand": "source.go" }] },
{ "keys": ["ctrl+/"], "command": "gs_comment_forward", "context": [{ "key": "selector", "operator": "equal", "operand": "source.go" }] },

{
"keys": ["."],
Expand Down

0 comments on commit 18e6574

Please sign in to comment.