Skip to content

Instantly share code, notes, and snippets.

@lyuehh
Created April 9, 2013 03:20
Show Gist options
  • Save lyuehh/5342692 to your computer and use it in GitHub Desktop.
Save lyuehh/5342692 to your computer and use it in GitHub Desktop.
#!/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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment