This project is an skeleton for a typical vim plugin. You can use it to quickly bootstrap your vim plugin and dev environment.
git clone https://github.com/maksimr/vim-stub vim-myAwesomePlugin
For testing vim files we use vim-vspec
Before run vim tests you should setup test environment. Inside plugin directory run follow commands:
Before all steps you should install ruby
and gems
This install all needed gems for tests
gem install bundle
bundle install
Files with tests for vim located in directory t
For executing vim tests you should run command:
bundle exec rake test
For run tests on every change of vim files
in folders plugin
and t
bundle exec guard