diff --git a/bin/yadr/vundle.rb b/bin/yadr/vundle.rb index 317e0e2..76e3321 100644 --- a/bin/yadr/vundle.rb +++ b/bin/yadr/vundle.rb @@ -6,15 +6,15 @@ module Vundle return if contains_vundle? plugin_repo vundles = vundles_from_file - last_bundle_dir = vundles.rindex{ |line| line =~ /^Plugin / } + last_bundle_dir = vundles.rindex{ |line| line =~ /^Bundle / } last_bundle_dir = last_bundle_dir ? last_bundle_dir+1 : 0 - vundles.insert last_bundle_dir, "Plugin \"#{plugin_repo}\"" + vundles.insert last_bundle_dir, "Bundle \"#{plugin_repo}\"" write_vundles_to_file vundles end def self.remove_plugin_from_vundle(plugin_repo) vundles = vundles_from_file - deleted_value = vundles.reject!{ |line| line =~ /Plugin "#{plugin_repo}"/ } + deleted_value = vundles.reject!{ |line| line =~ /Bundle "#{plugin_repo}"/ } write_vundles_to_file vundles @@ -22,11 +22,11 @@ module Vundle end def self.vundle_list - vundles_from_file.select{ |line| line =~ /^Plugin .*/ }.map{ |line| line.gsub(/Plugin "(.*)"/, '\1')} + vundles_from_file.select{ |line| line =~ /^Bundle .*/ }.map{ |line| line.gsub(/Bundle "(.*)"/, '\1')} end def self.update_vundle - system "vim --noplugin -u #{ENV['HOME']}/.vim/vundles.vim -N \"+set hidden\" \"+syntax on\" +PluginClean +PluginInstall +qall" + system "vim --noplugin -u #{ENV['HOME']}/.vim/vundles.vim -N \"+set hidden\" \"+syntax on\" +BundleClean +BundleInstall +qall" end diff --git a/vim/vundles.vim b/vim/vundles.vim index ae7eda4..c402973 100644 --- a/vim/vundles.vim +++ b/vim/vundles.vim @@ -4,18 +4,18 @@ " " This file contains the list of plugin installed using vundle plugin manager. " Once you've updated the list of plugin, you can run vundle update by issuing -" the command :PluginInstall from within vim or directly invoking it from the +" the command :BundleInstall from within vim or directly invoking it from the " command line with the following syntax: -" vim --noplugin -u vim/vundles.vim -N "+set hidden" "+syntax on" +PluginClean! +PluginInstall +qall +" vim --noplugin -u vim/vundles.vim -N "+set hidden" "+syntax on" +BundleClean! +BundleInstall +qall " Filetype off is required by vundle filetype off set rtp+=~/.vim/bundle/vundle/ set rtp+=~/.vim/vundles/ "Submodules -call vundle#begin() +call vundle#rc() " let Vundle manage Vundle (required) -Plugin 'gmarik/vundle' +Bundle "gmarik/vundle" " YADR's vundles are split up by category into smaller files " This reduces churn and makes it easier to fork. See @@ -35,7 +35,5 @@ if filereadable(expand("~/.yadr/vim/.vundles.local")) source ~/.yadr/vim/.vundles.local endif -call vundle#end() - "Filetype plugin indent on is required by vundle filetype plugin indent on diff --git a/vim/vundles/appearance.vundle b/vim/vundles/appearance.vundle index 3dc68b9..b18a59f 100644 --- a/vim/vundles/appearance.vundle +++ b/vim/vundles/appearance.vundle @@ -1,10 +1,10 @@ -Plugin 'chrisbra/color_highlight.git' -Plugin 'skwp/vim-colors-solarized' -Plugin 'itchyny/lightline.vim' -Plugin 'jby/tmux.vim.git' -Plugin 'morhetz/gruvbox' -Plugin 'xsunsmile/showmarks.git' -Plugin 'chriskempson/base16-vim' +Bundle "chrisbra/color_highlight.git" +Bundle "skwp/vim-colors-solarized" +Bundle "itchyny/lightline.vim" +Bundle "jby/tmux.vim.git" +Bundle "morhetz/gruvbox" +Bundle "xsunsmile/showmarks.git" +Bundle "chriskempson/base16-vim" " Required for Gblame in terminal vim -Plugin 'godlygeek/csapprox.git' +Bundle "godlygeek/csapprox.git" diff --git a/vim/vundles/git.vundle b/vim/vundles/git.vundle index ca23f57..80b4422 100644 --- a/vim/vundles/git.vundle +++ b/vim/vundles/git.vundle @@ -1,4 +1,4 @@ -Plugin 'gregsexton/gitv' -Plugin 'mattn/gist-vim' -Plugin 'tpope/vim-fugitive' -Plugin 'tpope/vim-git' +Bundle "gregsexton/gitv" +Bundle "mattn/gist-vim" +Bundle "tpope/vim-fugitive" +Bundle "tpope/vim-git" diff --git a/vim/vundles/languages.vundle b/vim/vundles/languages.vundle index 3fb4f7d..729d32a 100644 --- a/vim/vundles/languages.vundle +++ b/vim/vundles/languages.vundle @@ -1,7 +1,7 @@ -Plugin 'sheerun/vim-polyglot' -Plugin 'garbas/vim-snipmate.git' -Plugin 'honza/vim-snippets' -Plugin 'jtratner/vim-flavored-markdown.git' -Plugin 'scrooloose/syntastic.git' -Plugin 'nelstrom/vim-markdown-preview' -Plugin 'skwp/vim-html-escape' +Bundle 'sheerun/vim-polyglot' +Bundle 'garbas/vim-snipmate.git' +Bundle 'honza/vim-snippets' +Bundle 'jtratner/vim-flavored-markdown.git' +Bundle 'scrooloose/syntastic.git' +Bundle 'nelstrom/vim-markdown-preview' +Bundle 'skwp/vim-html-escape' diff --git a/vim/vundles/project.vundle b/vim/vundles/project.vundle index 05d919a..21606e8 100644 --- a/vim/vundles/project.vundle +++ b/vim/vundles/project.vundle @@ -1,5 +1,5 @@ -Plugin 'jistr/vim-nerdtree-tabs.git' -Plugin 'scrooloose/nerdtree.git' -Plugin 'kien/ctrlp.vim' -Plugin 'xolox/vim-misc' -Plugin 'xolox/vim-session' +Bundle "jistr/vim-nerdtree-tabs.git" +Bundle "scrooloose/nerdtree.git" +Bundle "kien/ctrlp.vim" +Bundle "xolox/vim-misc" +Bundle "xolox/vim-session" diff --git a/vim/vundles/ruby.vundle b/vim/vundles/ruby.vundle index 0ba4f4b..68e2b7a 100644 --- a/vim/vundles/ruby.vundle +++ b/vim/vundles/ruby.vundle @@ -1,10 +1,10 @@ -Plugin 'ecomba/vim-ruby-refactoring' -Plugin 'tpope/vim-rails.git' -Plugin 'tpope/vim-rake.git' -Plugin 'tpope/vim-rvm.git' -Plugin 'vim-ruby/vim-ruby.git' -Plugin 'Keithbsmiley/rspec.vim' -Plugin 'skwp/vim-iterm-rspec' -Plugin 'skwp/vim-spec-finder' -Plugin 'ck3g/vim-change-hash-syntax' -Plugin 'tpope/vim-bundler' +Bundle "ecomba/vim-ruby-refactoring" +Bundle "tpope/vim-rails.git" +Bundle "tpope/vim-rake.git" +Bundle "tpope/vim-rvm.git" +Bundle "vim-ruby/vim-ruby.git" +Bundle "Keithbsmiley/rspec.vim" +Bundle "skwp/vim-iterm-rspec" +Bundle "skwp/vim-spec-finder" +Bundle "ck3g/vim-change-hash-syntax" +Bundle "tpope/vim-bundler" diff --git a/vim/vundles/search.vundle b/vim/vundles/search.vundle index dff2d89..079b3ee 100644 --- a/vim/vundles/search.vundle +++ b/vim/vundles/search.vundle @@ -1,6 +1,6 @@ -Plugin 'justinmk/vim-sneak' -Plugin 'rking/ag.vim' -Plugin 'vim-scripts/IndexedSearch' -Plugin 'nelstrom/vim-visual-star-search' -Plugin 'skwp/greplace.vim' -Plugin 'Lokaltog/vim-easymotion' +Bundle "justinmk/vim-sneak" +Bundle "rking/ag.vim" +Bundle "vim-scripts/IndexedSearch" +Bundle "nelstrom/vim-visual-star-search" +Bundle "skwp/greplace.vim" +Bundle "Lokaltog/vim-easymotion" diff --git a/vim/vundles/textobjects.vundle b/vim/vundles/textobjects.vundle index 395be61..5dd89f1 100644 --- a/vim/vundles/textobjects.vundle +++ b/vim/vundles/textobjects.vundle @@ -1,15 +1,15 @@ " These bundles introduce new textobjects into vim, " For example the Ruby one introduces the 'r' text object " such that 'var' gives you Visual Around Ruby -Plugin 'austintaylor/vim-indentobject' -Plugin 'bootleq/vim-textobj-rubysymbol' -Plugin 'coderifous/textobj-word-column.vim' -Plugin 'kana/vim-textobj-datetime' -Plugin 'kana/vim-textobj-entire' -Plugin 'kana/vim-textobj-function' -Plugin 'kana/vim-textobj-user' -Plugin 'lucapette/vim-textobj-underscore' -Plugin 'nathanaelkane/vim-indent-guides' -Plugin 'nelstrom/vim-textobj-rubyblock' -Plugin 'thinca/vim-textobj-function-javascript' -Plugin 'vim-scripts/argtextobj.vim' +Bundle "austintaylor/vim-indentobject" +Bundle "bootleq/vim-textobj-rubysymbol" +Bundle "coderifous/textobj-word-column.vim" +Bundle "kana/vim-textobj-datetime" +Bundle "kana/vim-textobj-entire" +Bundle "kana/vim-textobj-function" +Bundle "kana/vim-textobj-user" +Bundle "lucapette/vim-textobj-underscore" +Bundle "nathanaelkane/vim-indent-guides" +Bundle "nelstrom/vim-textobj-rubyblock" +Bundle "thinca/vim-textobj-function-javascript" +Bundle "vim-scripts/argtextobj.vim" diff --git a/vim/vundles/vim-improvements.vundle b/vim/vundles/vim-improvements.vundle index 69af3b0..304b016 100644 --- a/vim/vundles/vim-improvements.vundle +++ b/vim/vundles/vim-improvements.vundle @@ -1,29 +1,29 @@ -Plugin 'AndrewRadev/splitjoin.vim' -Plugin 'Raimondi/delimitMate' -Plugin 'Shougo/neocomplete.git' -Plugin 'briandoll/change-inside-surroundings.vim.git' -Plugin 'godlygeek/tabular' -Plugin 'tomtom/tcomment_vim.git' -Plugin 'vim-scripts/camelcasemotion.git' -Plugin 'vim-scripts/matchit.zip.git' -Plugin 'kristijanhusak/vim-multiple-cursors' -Plugin 'Keithbsmiley/investigate.vim' -Plugin 'chrisbra/NrrwRgn' -Plugin 'christoomey/vim-tmux-navigator' -Plugin 'MarcWeber/vim-addon-mw-utils.git' -Plugin 'bogado/file-line.git' -Plugin 'mattn/webapi-vim.git' -Plugin 'sjl/gundo.vim' -Plugin 'skwp/YankRing.vim' -Plugin 'tomtom/tlib_vim.git' -Plugin 'tpope/vim-abolish' -Plugin 'tpope/vim-endwise.git' -Plugin 'tpope/vim-ragtag' -Plugin 'tpope/vim-repeat.git' -Plugin 'tpope/vim-surround.git' -Plugin 'tpope/vim-unimpaired' -Plugin 'vim-scripts/AnsiEsc.vim.git' -Plugin 'vim-scripts/AutoTag.git' -Plugin 'vim-scripts/lastpos.vim' -Plugin 'vim-scripts/sudo.vim' -Plugin 'goldfeld/ctrlr.vim' +Bundle "AndrewRadev/splitjoin.vim" +Bundle "Raimondi/delimitMate" +Bundle "Shougo/neocomplete.git" +Bundle "briandoll/change-inside-surroundings.vim.git" +Bundle "godlygeek/tabular" +Bundle "tomtom/tcomment_vim.git" +Bundle "vim-scripts/camelcasemotion.git" +Bundle "vim-scripts/matchit.zip.git" +Bundle "kristijanhusak/vim-multiple-cursors" +Bundle "Keithbsmiley/investigate.vim" +Bundle "chrisbra/NrrwRgn" +Bundle "christoomey/vim-tmux-navigator" +Bundle "MarcWeber/vim-addon-mw-utils.git" +Bundle "bogado/file-line.git" +Bundle "mattn/webapi-vim.git" +Bundle "sjl/gundo.vim" +Bundle "skwp/YankRing.vim" +Bundle "tomtom/tlib_vim.git" +Bundle "tpope/vim-abolish" +Bundle "tpope/vim-endwise.git" +Bundle "tpope/vim-ragtag" +Bundle "tpope/vim-repeat.git" +Bundle "tpope/vim-surround.git" +Bundle "tpope/vim-unimpaired" +Bundle "vim-scripts/AnsiEsc.vim.git" +Bundle "vim-scripts/AutoTag.git" +Bundle "vim-scripts/lastpos.vim" +Bundle "vim-scripts/sudo.vim" +Bundle "goldfeld/ctrlr.vim"