Skip to content
vim plugin to balance your parenthesis
Vim script
Branch: master
Clone or download

Latest commit

bhurlow Merge pull request #64 from iamFIREcracker/gracefully-handle-missing-…
…surrounding-forms

Gracefully handle the case of missing top-level forms
Latest commit a8c075c Feb 4, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
autoload Update for faster parinfer_lib Feb 21, 2018
doc Update/clean up documentation Jan 17, 2020
plugin Merge remote-tracking branch 'origin/master' into gracefully-handle-m… Feb 4, 2020
.gitignore sending to node server Dec 8, 2015
LICENSE.txt add license, fixes #9 Dec 14, 2015
README.md cleanup and version bump Feb 21, 2018

README.md

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
You can’t perform that action at this time.