diff --git a/.gitignore b/.gitignore index dfc1427..b881806 100644 --- a/.gitignore +++ b/.gitignore @@ -7,6 +7,7 @@ vim/.netrwhist vim/tmp vim/spell vim/after/.vimrc.after +vim/.vundles.local vim/bundle .netrwhist bin/subl diff --git a/bin/yadr/vundle.rb b/bin/yadr/vundle.rb index bd485a1..a936dc4 100644 --- a/bin/yadr/vundle.rb +++ b/bin/yadr/vundle.rb @@ -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 diff --git a/vim/vundles.vim b/vim/vundles.vim index 1645067..52a5a18 100644 --- a/vim/vundles.vim +++ b/vim/vundles.vim @@ -102,5 +102,13 @@ Bundle "airblade/vim-gitgutter.git" Bundle "bogado/file-line.git" Bundle "tpope/vim-rvm.git" Bundle "nelstrom/vim-visual-star-search" + +" Customization +" The plugins listed in ~/.vim/.vundles.local will be added here to +" allow the user to add vim plugins to yadr without the need for a fork. +if filereadable(expand("~/.yadr/vim/.vundles.local")) + source ~/.yadr/vim/.vundles.local +endif + "Filetype plugin indent on is required by vundle filetype plugin indent on