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 ab00db3628
commit 386bdab8f0
3 changed files with 15 additions and 31 deletions

View File

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

View File

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

View File

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