This is a vim plugin for using parinfer to indent your clojure and lisp code.
It uses Chris Oakman's awesome viml implementation under the hood
cd ~/.vim/bundle
git clone git://github.com/bhurlow/vim-parinfer.git
add
Plugin 'bhurlow/vim-parinfer'
to your .vimrc
run
:PluginInstall
Parinfer is trigger on all TextChanged events within vim. In addition, you may use the following mapped commands:
<Tab>
- indents s-expression<Tab-S>
- dedents s-expressiondd
- deletes line and balances parenthesisp
- puts line and balances parenthesis