Skip to content

Commit 1dd89d9

Browse files
committed
Updated readme
1 parent 32e11b7 commit 1dd89d9

File tree

1 file changed

+23
-2
lines changed

1 file changed

+23
-2
lines changed

README.md

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,11 @@ For more info, online demo and tests see [csscomb.com](http://csscomb.com/)
1010

1111
## The Requirements
1212

13-
CSScomb is written in pure PHP, without any external libraries or dependencies.
14-
See details at [wiki](https://github.com/miripiruni/CSScomb/wiki/Requirements).
13+
CSScomb is written in pure JavaScript. Install with:
1514

15+
```BASH
16+
npm install -g csscomb
17+
```
1618

1719
## Installation
1820

@@ -29,6 +31,16 @@ Add this to .vimrc:
2931
Bundle 'git://github.com/miripiruni/CSScomb-for-Vim.git'
3032
```
3133

34+
### With NeoBundle
35+
Add this to .vimrc:
36+
```
37+
NeoBundle 'faceleg/vim-csscomb', {
38+
\ 'build': {
39+
\ 'unix': 'npm install -g csscomb',
40+
\ 'mac': 'npm install -g csscomb'
41+
\ }}
42+
```
43+
3244
### Manual without plugins manager
3345
```
3446
git clone https://github.com/miripiruni/CSScomb-for-Vim.git csscomb
@@ -40,3 +52,12 @@ Vim command:
4052
```
4153
:CSScomb
4254
```
55+
56+
## Suggested Configuration
57+
58+
```VIML
59+
"mnemonic: 'beatify css'
60+
autocmd FileType css noremap <buffer> <leader>bc :CSScomb<CR>
61+
" Automatically comb your CSS on save
62+
autocmd BufWritePre,FileWritePre *.css,*.scss,*.sass silent! :CSScomb<CR>
63+
```

0 commit comments

Comments
 (0)