|Number of watchers on Github||648|
|Number of open issues||23|
|Average time to close an issue||3 months|
|Average time to merge a PR||16 days|
|Open pull requests||7+|
|Closed pull requests||10+|
|Last commit||almost 3 years ago|
|Repo Created||about 10 years ago|
|Repo Last Updated||almost 2 years ago|
|Organization / Author||tpope|
|Do you use vim-endwise? Leave a review!|
|View open issues (23)|
|View vim-endwise activity|
|View on github|
|Fresh, new opensource launches 🚀🚀🚀|
Trendy new open source projects in your inbox! View examples
This is a simple plugin that helps to end certain structures
automatically. In Ruby, this means adding
and several other keywords. In Vimscript, this amounts to appropriately
endif, etc. There's also Bourne shell, VB
(don't ask), C/C++ preprocessor, and Lua support.
A primary guiding principle in designing this plugin was that an erroneous insertion is never acceptable. The behavior is only triggered once pressing enter on the end of the line. When this happens, endwise searches for a matching end structure and only adds one if none is found.
While the goal was to make it customizable, this turned out to be a tall order. Every language has vastly different requirements. Nonetheless, for those bold enough to attempt it, you can follow the model of the autocmds in the plugin to set the three magic variables governing endwise's behavior.
If you don't have a preferred installation method, I recommend installing pathogen.vim, and then simply copy and paste:
cd ~/.vim/bundle git clone git://github.com/tpope/vim-endwise.git
Copyright (c) Tim Pope. Distributed under the same terms as Vim itself.