Browse Source

Revert changes not related to rtp

pull/418/head
Jeremy Pallats/starcraft.man 12 years ago
parent
commit
45510f4411
6 changed files with 64 additions and 65 deletions
  1. +18
    -17
      README.md
  2. +1
    -1
      autoload/vundle.vim
  3. +1
    -2
      autoload/vundle/config.vim
  4. +1
    -1
      autoload/vundle/installer.vim
  5. +36
    -42
      doc/vundle.txt
  6. +7
    -2
      test/vimrc

+ 18
- 17
README.md View File

@ -1,4 +1,4 @@
## [Help Maintain Vundle](https://github.com/gmarik/Vundle.vim/issues/383)
## [Help Maintain Vundle](https://github.com/gmarik/Vundle.vim/issues/241)
## About
@ -29,8 +29,7 @@
Installation requires [Git] and triggers [`git clone`] for each configured repository to `~/.vim/bundle/` by default.
Curl is required for search.
If you are using Windows, go directly to [Windows setup]. If you run into any issues, please consult the [FAQ]. Also,
see the [Tips] wiki page for some additional options.
If you are using Windows, go directly to [Windows setup]. If you run into any issues, please consult the [FAQ].
2. Set up [Vundle]:
@ -47,28 +46,30 @@
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()
" alternatively, pass where Vundle should install plugins
"call vundle#rc('~/some/plugin/directory')
" alternatively, pass a path where Vundle should install plugins
"let path = '~/some/path/here'
"call vundle#rc(path)
" let Vundle manage Vundle, required
Plugin 'gmarik/vundle'
" The following are examples of different formats supported.
" Plugins are available for use after the Plugin command returns.
" plugins on GitHub repos
Plugin 'tpope/vim-fugitive' "A plugin for git integration
" plugins from http://vim-scripts.org/vim/scripts.html
" Keep Plugin commands between here and filetype plugin indent on.
" scripts on GitHub repos
Plugin 'tpope/vim-fugitive'
Plugin 'Lokaltog/vim-easymotion'
Plugin 'tpope/vim-rails.git'
" The sparkup vim script is in a subdirectory of this repo called vim.
" Pass the path to set the runtimepath properly.
Plugin 'rstacruz/sparkup', {'rtp': 'vim/'}
" scripts from http://vim-scripts.org/vim/scripts.html
Plugin 'L9'
" plugins not on GitHub
Plugin 'FuzzyFinder'
" scripts not on GitHub
Plugin 'git://git.wincent.com/command-t.git'
" git repos on your local machine (i.e. when working on your own plugin)
Plugin 'file:///home/gmarik/path/to/plugin'
" The sparkup vim script is in a subdirectory of this repo called vim.
" Pass the path to set the runtimepath properly.
Plugin 'rstacruz/sparkup', {'rtp': 'vim/'}
" Plugin will clone to the folder 'finder' inside `~/.vim/bundle`.
" Use to avoid plugin name collisions.
Plugin 'FuzzyFinder', {'name': 'finder'}
" ...
filetype plugin indent on " required
" To ignore plugin indent changes, instead use:
@ -81,6 +82,7 @@
" :PluginClean(!) - confirm (or auto-approve) removal of unused plugins
"
" see :h vundle for more details or wiki for FAQ
" NOTE: comments after Plugin commands are not allowed.
" Put your stuff after this line
```
@ -133,7 +135,6 @@ see [Vundle contributors](https://github.com/gmarik/vundle/graphs/contributors)
[Vundle]:http://github.com/gmarik/vundle
[Windows setup]:https://github.com/gmarik/vundle/wiki/Vundle-for-Windows
[FAQ]:https://github.com/gmarik/vundle/wiki
[Tips]:https://github.com/gmarik/Vundle.vim/wiki/Tips-and-Tricks
[Vim]:http://www.vim.org
[Git]:http://git-scm.com
[`git clone`]:http://gitref.org/creating/#clone


+ 1
- 1
autoload/vundle.vim View File

@ -30,7 +30,7 @@ com! -nargs=0 PluginDocs
com! PluginUpdate PluginInstall!
" Vundle Aliases
com! -nargs=? -bang -complete=custom,vundle#scripts#complete VundleInstall PluginList<bang> <args>
com! -nargs=? -bang -complete=custom,vundle#scripts#complete VundleInstall PluginInstall<bang> <args>
com! -nargs=? -bang -complete=custom,vundle#scripts#complete VundleSearch PluginSearch<bang> <args>
com! -nargs=? -bang VundleClean PluginClean<bang>
com! -nargs=0 VundleDocs PluginDocs


+ 1
- 2
autoload/vundle/config.vim View File

@ -70,7 +70,7 @@ func! s:rtp_add_defaults()
let &rtp = current
for item in reverse(split(default, ','))
exec 'set rtp-=' . item
if item =~ 'after$'
if fnamemodify(item, ":t") == 'after'
exec 'set rtp+=' . item
else
exec 'set rtp^=' . item
@ -113,7 +113,6 @@ func! s:rtpath(opts)
endf
let s:bundle = {}
let s:lazy_bundles = []
func! s:bundle.path()
return s:expand_path(g:bundle_dir.'/'.self.name)


+ 1
- 1
autoload/vundle/installer.vim View File

@ -207,7 +207,7 @@ endf
func! s:helptags(rtp) abort
" it is important to keep trailing slash here
let doc_path = resolve(a:rtp).'/doc/'
let doc_path = resolve(a:rtp . '/doc/')
call s:log(':helptags '.doc_path)
try
execute 'helptags ' . doc_path


+ 36
- 42
doc/vundle.txt View File

@ -69,47 +69,41 @@ more information.
Put this at the top of your `.vimrc` to use Vundle. Remove bundles you
don't need, they are for illustration purposes.
>
set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()
" alternatively, pass where Vundle should install plugins
"call vundle#rc('~/some/plugin/directory')
" let Vundle manage Vundle, required
Plugin 'gmarik/vundle'
" The following are examples of different formats supported.
" Plugins are available for use after the Plugin command returns.
" plugins on GitHub repos
Plugin 'tpope/vim-fugitive' "A plugin for git integration
" plugins from http://vim-scripts.org/vim/scripts.html
Plugin 'L9'
" plugins not on GitHub
Plugin 'git://git.wincent.com/command-t.git'
" git repos on your local machine (i.e. when working on your own plugin)
Plugin 'file:///home/gmarik/path/to/plugin'
" The sparkup vim script is in a subdirectory of this repo called vim.
" Pass the path to set the runtimepath properly.
Plugin 'rstacruz/sparkup', {'rtp': 'vim/'}
" Plugin will clone to the folder 'finder' inside ~/.vim/bundle.
" Use to avoid plugin name collisions.
Plugin 'FuzzyFinder', {'name': 'finder'}
filetype plugin indent on " required
" To ignore plugin indent changes, instead use:
"filetype plugin on
"
" Brief help
" :PluginList - list configured plugins
" :PluginInstall(!) - install (update) plugins
" :PluginSearch(!) foo - search (or refresh cache first) for foo
" :PluginClean(!) - confirm (or auto-approve) removal of unused plugins
"
" see :h vundle for more details or wiki for FAQ
" Put your stuff after this line
set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()
" alternatively, pass a path where Vundle should install bundles
"let path = '~/some/path/here'
"call vundle#rc(path)
" let Vundle manage Vundle, required
Plugin 'gmarik/vundle'
" The following are examples of different formats supported.
" Keep bundle commands between here and filetype plugin indent on.
" plugins on GitHub repos
Plugin 'tpope/vim-fugitive'
Plugin 'Lokaltog/vim-easymotion'
Plugin 'tpope/vim-rails.git'
" The sparkup vim script is in a subdirectory of this repo called vim.
" Pass the path to set the runtimepath properly.
Plugin 'rstacruz/sparkup', {'rtp': 'vim/'}
" plugins from http://vim-scripts.org/vim/scripts.html
Plugin 'L9'
Plugin 'FuzzyFinder'
" plugins not on GitHub
Plugin 'git://git.wincent.com/command-t.git'
" git repos on your local machine (i.e. when working on your own plugin)
Plugin 'file:///home/gmarik/path/to/plugin'
" ...
filetype plugin indent on " required
" To ignore plugin indent changes, instead use:
"filetype plugin on
" Put your stuff after this line
4. Install configured bundles:
@ -208,7 +202,7 @@ The git protocol supports local installation using the 'file://' protocol.
This is handy when developing plugins locally. Follow the protocol with an
absolute path to the script directory.
>
Plugin 'file///path/from/root/to/plugin'
Plugin 'file:///path/from/root/to/plugin'
3.3 INSTALLING PLUGINS ~
*vundle-plugins-install* *:PluginInstall*


+ 7
- 2
test/vimrc View File

@ -1,10 +1,10 @@
" vim -u test/vimrc
set nocompatible
set nowrap
filetype off
syntax on
let bundle_dir = '/tmp/vundle-test/bundles/'
" let src = 'http://github.com/gmarik/vundle.git'
" Vundle Options
" let g:vundle_default_git_proto = 'git'
@ -12,12 +12,17 @@ let bundle_dir = '/tmp/vundle-test/bundles/'
silent execute '!mkdir -p '.bundle_dir
silent execute '!ln -f -s ~/.vim/bundle/vundle '.bundle_dir
filetype off
syntax on
runtime macros/matchit.vim
" This test should be executed in "test" directory
exec 'set rtp^='.bundle_dir.'vundle/'
call vundle#rc(bundle_dir)
Plugin 'molokai' " vim-scripts name
" github username with dashes


Loading…
Cancel
Save