diff --git a/README.md b/README.md index 3a2a791..d0919b0 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ 1. Setup [Vundle]: - git clone http://github.com/gmarik/vundle.git ~/.vim/vundle.git + git clone http://github.com/gmarik/vundle.git ~/.vim/bundle/vundle 2. Configure bundles: @@ -15,9 +15,10 @@ set nocompatible " be iMproved filetype off " required! - set rtp+=~/.vim/vundle.git/ + set rtp+=~/.vim/bundle/vundle/ call vundle#rc() + " My Bundles here: " " original repos on github @@ -31,6 +32,8 @@ " non github repos Bundle 'git://git.wincent.com/command-t.git' " ... + " let Vundle manage Vundle + Bundle 'gmarik/vundle' filetype plugin indent on " required! @@ -108,10 +111,9 @@ see [`:h vundle`](vundle/blob/master/doc/vundle.txt#L1) vimdoc for more details. * √ activate newly added bundles on .vimrc reload or after :BundleInstall * √ use preview window for search results * √ vim documentation -* tests +* √ put vundle to bundles/ too(will fix vundle help) +* √ tests * improve error handling -* put vundle to bundles/ too(will fix vundle help) -* `:VundleUpdate` - self.update * handle dependencies * allow specify revision/version? * search by description aswell diff --git a/test/vimrc b/test/vimrc index 79d9321..8644f6a 100644 --- a/test/vimrc +++ b/test/vimrc @@ -5,12 +5,22 @@ syntax on silent exec 'e '.expand('') +let root = '/tmp/vundle_bundles/' +if !isdirectory(expand(root)) + exec '!git clone http://github.com/gmarik/vundle.git '.root.'/vundle' +endif + filetype off + runtime macros/matchit.vim -set rtp+=~/.vim/vundle.git/ + +exec 'set rtp+='.root.'/vundle' call vundle#rc('/tmp/vundle_bundles') +" Vundle manages Vunlde +Bundle 'gmarik/vundle' + " vim-scripts name Bundle 'molokai' @@ -52,7 +62,7 @@ augroup end " NOSYNC " existing directory -Bundle! '~/.vim/vundle.git/test/' +Bundle! root.'/vundle/test/' " just create one Bundle! 'a_plugin'