Skip to content
This repository was archived by the owner on May 31, 2021. It is now read-only.

Commit f17be3b

Browse files
committed
Use Sublime Text 3 settings workflow
1 parent 20fa4a7 commit f17be3b

File tree

2 files changed

+12
-62
lines changed

2 files changed

+12
-62
lines changed

Main.sublime-menu

Lines changed: 11 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -23,71 +23,21 @@
2323
"caption": "PostCSS Sorting",
2424
"children": [
2525
{
26-
"command": "open_file",
26+
"caption": "Settings",
27+
"command": "edit_settings",
2728
"args": {
28-
"file": "${packages}/PostCSS Sorting/PostCSSSorting.sublime-settings"
29-
},
30-
"caption": "Settings – Default"
29+
"base_file": "${packages}/PostCSS Sorting/PostCSSSorting.sublime-settings",
30+
"default": "${packages}/User/PostCSSSorting.sublime-settings"
31+
}
3132
},
3233
{
33-
"command": "open_file",
34+
"caption": "Key Bindings",
35+
"command": "edit_settings",
3436
"args": {
35-
"file": "${packages}/User/PostCSSSorting.sublime-settings"
36-
},
37-
"caption": "Settings – User"
38-
},
39-
{
40-
"caption": "-"
41-
},
42-
{
43-
"command": "open_file",
44-
"args": {
45-
"file": "${packages}/PostCSS Sorting/Default (Windows).sublime-keymap",
46-
"platform": "Windows"
47-
},
48-
"caption": "Key Bindings – Default"
49-
},
50-
{
51-
"command": "open_file",
52-
"args": {
53-
"file": "${packages}/PostCSS Sorting/Default (OSX).sublime-keymap",
54-
"platform": "OSX"
55-
},
56-
"caption": "Key Bindings – Default"
57-
},
58-
{
59-
"command": "open_file",
60-
"args": {
61-
"file": "${packages}/PostCSS Sorting/Default (Linux).sublime-keymap",
62-
"platform": "Linux"
63-
},
64-
"caption": "Key Bindings – Default"
65-
},
66-
{
67-
"command": "open_file",
68-
"args": {
69-
"file": "${packages}/User/Default (Windows).sublime-keymap",
70-
"platform": "Windows"
71-
},
72-
"caption": "Key Bindings – User"
73-
},
74-
{
75-
"command": "open_file",
76-
"args": {
77-
"file": "${packages}/User/Default (OSX).sublime-keymap",
78-
"platform": "OSX"
79-
},
80-
"caption": "Key Bindings – User"
81-
},
82-
{
83-
"command": "open_file",
84-
"args": {
85-
"file": "${packages}/User/Default (Linux).sublime-keymap",
86-
"platform": "Linux"
87-
},
88-
"caption": "Key Bindings – User"
89-
},
90-
{ "caption": "-" }
37+
"base_file": "${packages}/PostCSS Sorting/Default ($platform).sublime-keymap",
38+
"default": "${packages}/User/Default ($platform).sublime-keymap"
39+
}
40+
}
9141
]
9242
}
9343
]

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ There is keyboard shortcut also: <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>S</kb
2525

2626
### Options
2727

28-
*(Preferences → Package Settings → PostCSS Sorting → Settings - User)*
28+
*(Preferences → Package Settings → PostCSS Sorting → Settings)*
2929

3030
You can specify sort order and other options. See the [postcss-sorting documentation](https://github.com/hudochenkov/postcss-sorting#options) for all options.
3131

0 commit comments

Comments
 (0)