Skip to content

Commit

Permalink
Combine default and user settings menu entries
Browse files Browse the repository at this point in the history
  • Loading branch information
OlegSmelov committed Mar 17, 2018
1 parent eefa7e4 commit c553948
Showing 1 changed file with 15 additions and 18 deletions.
33 changes: 15 additions & 18 deletions Main.sublime-menu
Original file line number Diff line number Diff line change
Expand Up @@ -45,26 +45,23 @@
"id": "sublime-rspec",
"children": [
{
"command": "open_file",
"args": {"file": "${packages}/TestRSpec/Preferences.sublime-settings"},
"caption": "Settings – Default"
"caption": "Settings",
"command": "edit_settings",
"args": {
"base_file": "${packages}/TestRSpec/Preferences.sublime-settings",
"user_file": "${packages}/User/TestRSpec.sublime-settings",
"default": ""
}
},
{
"command": "open_file",
"args": {"file": "${packages}/User/TestRSpec.sublime-settings"},
"caption": "Settings – User"
},
{ "caption": "-" },
{
"command": "open_file",
"args": {"file": "${packages}/TestRSpec/Default.sublime-keymap"},
"caption": "Key Bindings – Default"
},
{
"command": "open_file",
"args": {"file": "${packages}/User/Default (${platform}).sublime-keymap"},
"caption": "Key Bindings – User"
},
"caption": "Key Bindings",
"command": "edit_settings",
"args": {
"base_file": "${packages}/TestRSpec/Default.sublime-keymap",
"user_file": "${packages}/User/Default (${platform}).sublime-keymap",
"default": ""
}
}
]
}
]
Expand Down

0 comments on commit c553948

Please sign in to comment.