Просмотр исходного кода

Update ctrlp, Fix vim-plug install order

When a plugin changes fork but not name, updating before cleaning throws
an error, since the old plugin is still checked out. We reverse this so
that unwanted plugins are removed to make way for wanted ones.
Weiyi Lou 10 лет назад
Родитель
Сommit
da14cf4c89
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      setup.sh
  2. 1 1
      vim/plugins.vim

+ 1 - 1
setup.sh

@@ -26,7 +26,7 @@ linkup() {
 # Run vim-plug's install process.
 # Run vim-plug's install process.
 # Vim starts with just a registry of plugins and the `nocompatible` flag.
 # Vim starts with just a registry of plugins and the `nocompatible` flag.
 install_vim_plugins() {
 install_vim_plugins() {
-  vim -u ~/dotfiles/vim/plugins.vim -N +PlugUpdate! +PlugClean! +qall!
+  vim -u ~/dotfiles/vim/plugins.vim -N +PlugClean! +PlugUpdate! +qall!
 }
 }
 
 
 # }}}
 # }}}

+ 1 - 1
vim/plugins.vim

@@ -52,7 +52,7 @@ Plug 'vim-scripts/argtextobj.vim'
 " }}}
 " }}}
 
 
 " File Browser {{{
 " File Browser {{{
-Plug 'kien/ctrlp.vim'
+Plug 'ctrlpvim/ctrlp.vim'
 Plug 'tpope/vim-vinegar'
 Plug 'tpope/vim-vinegar'
 " }}}
 " }}}