lyuehh
4/9/2013 - 3:20 AM

yadr-vim-list-plugin

#!/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