Add .vundles.local to allow per-installation plugin customization

Adding and removing vim plugins is now done by adding and removing
from ~/.vim/.vundles.local. This file is sourced at the end of
vundles.vim

Fixes #275
This commit is contained in:
Fabio Gallonetto
2013-04-09 16:50:01 +01:00
committed by Fabio Gallonetto
parent f460aa1442
commit 1a7f2bb8f6
3 changed files with 10 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
require 'fileutils'
module Vundle
@vundles_path = File.expand_path File.join('~', '.vim', 'vundles.vim')
@vundles_path = File.expand_path File.join(ENV['HOME'], '.vim', '.vundles.local')
def self.add_plugin_to_vundle(plugin_repo)
return if contains_vundle? plugin_repo