Skip to content

CSScomb plugin for Vim. Tool for sorting CSS properties in specific order.

Notifications You must be signed in to change notification settings

iLolly/CSScomb-for-Vim

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 

Repository files navigation

CSScomb plugin for Vim

About

Plugin based on CSScomb algorithm.

The algorithm of CSScomb simulates web-technologists actions upon working with CSS-code to the limit. Usually to re-order code you move lines over each other considering comments in the code, multilines records of property values, hacks and everything that could be found in the real file. CSScomb reproduces these actions for you. This means that the parser "thinks" as a person editing the text, not as a blind robot parsing CSS.

For more info, online demo and tests see csscomb.com

The Requirements

CSScomb is written in pure PHP, without any external libraries or dependencies. See details at wiki.

Installation

With Pathogen

cd ~/.vim/bundle
git clone https://github.com/miripiruni/CSScomb-for-Vim.git

With Vundle

Add this to .vimrc:

Bundle 'git://github.com/miripiruni/CSScomb-for-Vim.git'

Manual without plugins manager

git clone https://github.com/miripiruni/CSScomb-for-Vim.git csscomb
cp -r csscomb/plugin/* ~/.vim/plugin/

Usage

Vim command:

:CSScomb

About

CSScomb plugin for Vim. Tool for sorting CSS properties in specific order.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published