removing scope for keyboard shortcuts. sometimes (for me it's always) its usefull to have shortcuts in any type of file

This commit is contained in:
Nikolajus 2012-02-09 09:40:29 +01:00
parent 92f6ea45e1
commit 43c2c18a42
3 changed files with 15 additions and 31 deletions

View File

@ -1,13 +1,8 @@
[ [
{ {
"keys": ["ctrl+alt+j"], "keys": [
"command": "prettyjson", "ctrl+alt+j"
"context": [ ],
{ "command": "prettyjson"
"key": "selector", }
"operator": "equal",
"operand": "source.json"
}
]
}
] ]

View File

@ -1,14 +1,8 @@
[ [
// Only use this for the "source.json" scope
{ {
"keys": ["super+ctrl+j"], "keys": [
"command": "prettyjson", "super+ctrl+j"
"context": [ ],
{ "command": "prettyjson"
"key": "selector", }
"operator": "equal",
"operand": "source.json"
}
]
}
] ]

View File

@ -1,13 +1,8 @@
[ [
{ {
"keys": ["ctrl+alt+j"], "keys": [
"command": "prettyjson", "ctrl+alt+j"
"context": [ ],
{ "command": "prettyjson"
"key": "selector", }
"operator": "equal",
"operand": "source.json"
}
]
}
] ]