CSS reformatting tool for VIM
Vim script
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
ftplugin
.gitignore
.yardopts
AUTHORS
CHANGELOG
README.md
Rakefile

README.md

Lesstidy for VIM - v0.1.0

Installing via pathogen

Pathogen is a small 'package manager' for VIM. This is the recommended way to install lesstidy-vim.

Step 1: Install pathogen, if you haven't yet.

mkdir -p ~/.vim/autoload
curl "http://www.vim.org/scripts/download_script.php?src_id=12116" -O ~/.vim/autoload/pathogen.vim
echo "call pathogen#runtime_append_all_bundles()" >> ~/.vimrc

# More info and detailed instructions for Pathogen over at:
# http://www.vim.org/scripts/script.php?script_id=2332

Step 2: Install lesstidy-vim into ~/.vim/bundle/.

mkdir -p ~/.vim/bundle
git clone git://github.com/sinefunc/lesstidy-vim.git ~/.vim/bundle/lesstidy-vim

Manual installation

If you don't want to up pathogen, use the installer provided.

git clone git://github.com/sinefunc/lesstidy-vim.git
cd lesstidy-vim && rake install

Usage

  • Select some text and press = to tidy that area
  • Press + to tidy up one paragraph

Other info

To install to another path, use: rake install vim_path=~/vim/