fix pluginpath
This commit is contained in:
parent
a25084f32c
commit
2d957509b8
1 changed files with 25 additions and 17 deletions
42
vimrc
42
vimrc
|
@ -11,6 +11,14 @@ filetype off " required
|
||||||
|
|
||||||
let g:NERDTreeDirArrows = 1
|
let g:NERDTreeDirArrows = 1
|
||||||
|
|
||||||
|
if !empty($MYSHELLCONFIG_VIM_PLUGINS)
|
||||||
|
let pluginrepopath=$MYSHELLCONFIG_VIM_PLUGINS . '/'
|
||||||
|
let pluginextension='.git'
|
||||||
|
else
|
||||||
|
let pluginrepopath=''
|
||||||
|
let pluginextension=''
|
||||||
|
endif
|
||||||
|
|
||||||
if !empty(glob("~/.vim/bundle/Vundle.vim"))
|
if !empty(glob("~/.vim/bundle/Vundle.vim"))
|
||||||
" set the runtime path to include Vundle and initialize
|
" set the runtime path to include Vundle and initialize
|
||||||
set rtp+=~/.vim/bundle/Vundle.vim
|
set rtp+=~/.vim/bundle/Vundle.vim
|
||||||
|
@ -21,23 +29,23 @@ if !empty(glob("~/.vim/bundle/Vundle.vim"))
|
||||||
|
|
||||||
" let Vundle manage Vundle, required
|
" let Vundle manage Vundle, required
|
||||||
|
|
||||||
Plugin $MYSHELLCONFIG_VIM_PLUGINS'/gmarik/Vundle.vim'
|
Plugin pluginrepopath . 'gmarik/Vundle.vim' . pluginextension
|
||||||
Plugin $MYSHELLCONFIG_VIM_PLUGINS'Zenburn'
|
Plugin pluginrepopath . 'vim-scripts/Zenburn' . pluginextension
|
||||||
" Plugin $MYSHELLCONFIG_VIM_PLUGINS'Solarized'
|
" Plugin pluginrepopath . 'Solarized' . pluginextension
|
||||||
Plugin $MYSHELLCONFIG_VIM_PLUGINS'altercation/vim-colors-solarized.git'
|
Plugin pluginrepopath . 'altercation/vim-colors-solarized' . pluginextension
|
||||||
Plugin $MYSHELLCONFIG_VIM_PLUGINS'vim-scripts/indentpython.vim'
|
Plugin pluginrepopath . 'vim-scripts/indentpython.vim' . pluginextension
|
||||||
Plugin $MYSHELLCONFIG_VIM_PLUGINS'tmhedberg/SimpylFold'
|
Plugin pluginrepopath . 'tmhedberg/SimpylFold' . pluginextension
|
||||||
Plugin $MYSHELLCONFIG_VIM_PLUGINS'vim-syntastic/syntastic'
|
Plugin pluginrepopath . 'vim-syntastic/syntastic' . pluginextension
|
||||||
Plugin $MYSHELLCONFIG_VIM_PLUGINS'ctrlpvim/ctrlp.vim'
|
Plugin pluginrepopath . 'ctrlpvim/ctrlp.vim' . pluginextension
|
||||||
Plugin $MYSHELLCONFIG_VIM_PLUGINS'scrooloose/nerdtree'
|
Plugin pluginrepopath . 'preservim/nerdtree' . pluginextension
|
||||||
Plugin $MYSHELLCONFIG_VIM_PLUGINS'Xuyuanp/nerdtree-git-plugin'
|
Plugin pluginrepopath . 'Xuyuanp/nerdtree-git-plugin' . pluginextension
|
||||||
Plugin $MYSHELLCONFIG_VIM_PLUGINS'jistr/vim-nerdtree-tabs'
|
Plugin pluginrepopath . 'jistr/vim-nerdtree-tabs' . pluginextension
|
||||||
Plugin $MYSHELLCONFIG_VIM_PLUGINS'tpope/vim-fugitive'
|
Plugin pluginrepopath . 'tpope/vim-fugitive' . pluginextension
|
||||||
Plugin $MYSHELLCONFIG_VIM_PLUGINS'Lokaltog/powerline', {'rtp': 'powerline/bindings/vim/'}
|
Plugin pluginrepopath . 'Lokaltog/powerline' . pluginextension, {'rtp': 'powerline/bindings/vim/'}
|
||||||
Plugin $MYSHELLCONFIG_VIM_PLUGINS'rakr/vim-togglebg'
|
Plugin pluginrepopath . 'rakr/vim-togglebg' . pluginextension
|
||||||
Plugin $MYSHELLCONFIG_VIM_PLUGINS'ConradIrwin/vim-bracketed-paste'
|
Plugin pluginrepopath . 'ConradIrwin/vim-bracketed-paste' . pluginextension
|
||||||
" Plugin $MYSHELLCONFIG_VIM_PLUGINS'ryanpcmcquen/fix-vim-pasting'
|
" Plugin pluginrepopath . 'ryanpcmcquen/fix-vim-pasting' . pluginextension
|
||||||
" Plugin $MYSHELLCONFIG_VIM_PLUGINS'Valloric/YouCompleteMe'
|
" Plugin pluginrepopath . 'Valloric/YouCompleteMe' . pluginextension
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue