Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bhurlow/vim-parinfer

vim plugin to balance your parenthesis
https://github.com/bhurlow/vim-parinfer

balances-parenthesis clojure lisp parinfer vim

Last synced: about 2 months ago
JSON representation

vim plugin to balance your parenthesis

Awesome Lists containing this project

README

        

## vim-parinfer

This is a vim plugin for using [parinfer](https://shaunlebron.github.io/parinfer/) to indent your clojure and lisp code.

It uses [Chris Oakman's awesome viml implementation](https://github.com/oakmac/parinfer-viml) under the hood

pull requests // issues welcome

## Installation

### using pathogen:

```
cd ~/.vim/bundle
git clone git://github.com/bhurlow/vim-parinfer.git
```
### using Vundle:

add

```
Plugin 'bhurlow/vim-parinfer'
```

to your `.vimrc`

run

```
:PluginInstall
```

## Mappings

Parinfer is trigger on all TextChanged events within vim.
In addition, you may use the following mapped commands:

- `` - indents s-expression
- `` - dedents s-expression
- `dd` - deletes line and balances parenthesis
- `p` - puts line and balances parenthesis