All Projects → bhurlow → Vim Parinfer

bhurlow / Vim Parinfer

Licence: mit
vim plugin to balance your parenthesis

Programming Languages

clojure
4091 projects
lisp
113 projects

Labels

vim-parinfer

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

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:

  • <Tab> - indents s-expression
  • <Tab-S> - dedents s-expression
  • dd - deletes line and balances parenthesis
  • p - puts line and balances parenthesis
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].