Last Updated: February 25, 2016
·
1.822K
· bchretien

vim-easy-align

This Vim plugin is described by his autor as a simple, easy-to-use Vim alignment plugin. It's an alternative to the well-known Tabular plugin.

demo

I can vouch for its ease of use. If for instance all you want is to align a block around the = sign, first select it (e.g. with vip), and then just type <Enter>=. That's it.

You can get the code on GitHub: https://github.com/junegunn/vim-easy-align

If you're using Vundle:

Bundle 'junegunn/vim-easy-align'