54863f2e1b
Two new command line tools: yadr-vim-remove-plugin and yadr-vim-list-plugin do what they're supposed to.
22 lines
465 B
Ruby
Executable File
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
|