Permalink
Browse files

Update README

1 parent 30c2af1 commit 4df31b61b31dce3ff5d88d38db83ae4ab5eb1025 @tonyganch tonyganch committed Aug 10, 2014
Showing with 8 additions and 16 deletions.
  1. +8 −16 README.md
View
@@ -10,12 +10,13 @@ and consistent.
You need Node.js to make this plugin work.
-## Plugin usage
+### Caveats
+
+If node has been installed with NVM you need to make a symlink to node in `/usr/local/bin`. Using OS X, the binary path would typically be `/Users/[your name]/.nvm/[node version]/bin/node`.
-Select code and press <kbd>ctrl</kbd>+<kbd>shift</kbd>+<kbd>c</kbd>
-Or open "Tools" menu and select "Run CSScomb".
+## Plugin usage
-Tip: Combine expand selection by indentation <kbd>ctrl</kbd>+<kbd>shift</kbd>+<kbd>j</kbd> with <kbd>ctrl</kbd>+<kbd>shift</kbd>+<kbd>c</kbd> to quickly select all rules for current css selector and sort them with csscomb.
+Press <kbd>ctrl</kbd>+<kbd>shift</kbd>+<kbd>c</kbd> or open "Tools" menu and select "Run CSScomb".
## Custom configuration
@@ -25,18 +26,9 @@ project root or your `HOME` directory.
You can read more about available options
[in docs](https://github.com/csscomb/csscomb.js/blob/master/doc/options.md).
-If for some reason you would like to set custom path to configuration file,
-set it in plugin config:
-
-```
-{
- "custom_config_path": "Users/csscomb/project/config/csscomb.json"
-}
-```
-
-## Caveats
-
-If node has been installed with NVM you need to make a symlink to node in `/usr/local/bin`. Using OS X, the binary path would typically be `/Users/[your name]/.nvm/[node version]/bin/node`.
+You can also store config right in ST's settings.
+Open `Preferences > Package Settings > CSScomb` and see `Settings - Default`
+for an example.
## Issues & bugs

0 comments on commit 4df31b6

Please sign in to comment.