dotar/bin/yadr/yadr-vim-list-plugin
Fabio Gallonetto 54863f2e1b Add yadr command line tools to remove/list plugins
Two new command line tools: yadr-vim-remove-plugin and
yadr-vim-list-plugin do what they're supposed to.
2013-03-17 17:12:22 +00:00

22 lines
465 B
Ruby
Executable File

#!/usr/bin/env ruby
require File.join(File.dirname(__FILE__), 'default_libs')
require File.join(File.dirname(__FILE__), 'vundle')
GitStyleBinary.command do
version "yadr-list-vim-plugin 1.0"
short_desc "List installed vim plugins"
banner <<-'EOS'
Usage: yadr-list-vim-plugin
EOS
run do |command|
puts "Currently configured plugins:"
i=1
Vundle::vundle_list.each do |plugin|
puts "#{i}. #{plugin}"
i=i+1
end
end
end