I'm using vundle as my plugin manager for vim.
However I'm having trouble installing ctrlp plugin.
When I execute :BundleInstall ctrlp
, it outputs the following log with a fatal error:
[131003 09:39:27] Bundle kien/ctrlp
[131003 09:39:27] $ git clone --recursive 'https://github.com/kien/ctrlp.git' '/home/username/.vim/bundle/ctrlp' [131003 09:39:27] > Cloning into '/home/username/.vim/bundle/ctrlp'...^@fatal: https://github.com/kien/ctrlp.git/info/ refs?service=git-upload-pack not found: did you run git update-server-info on the server?^@
[131003 09:39:28] Helptags:
[131003 09:39:28] :helptags /home/username/.vim/bundle/vundle/doc/
[131003 09:39:28] :helptags /home/username/.vim/bundle/vim-fugitive/doc/
[131003 09:39:28] :helptags /home/username/.vim/bundle/vim-colors-solarized/doc/
[131003 09:39:28] :helptags /home/username/.vim/bundle/nerdtree/doc/
[131003 09:39:28] Helptags: 4 bundles processed
[131003 09:49:39] Bundle ctrlp
[131003 09:49:39] $ git clone --recursive 'https://github.com/vim-scripts/ctrlp.git' '/home/username/.vim/bundle/ctrlp'
[131003 09:49:39] > Cloning into '/home/username/.vim/bundle/ctrlp'...^@fatal: https://github.com/vim-scripts/ctrlp.gi t/info/refs?service=git-upload-pack not found: did you run git update-server-info on the server?^@ [131003 09:49:40] Helptags:
[131003 09:49:40] :helptags /home/username/.vim/bundle/vundle/doc/
[131003 09:49:40] :helptags /home/username/.vim/bundle/vim-fugitive/doc/
[131003 09:49:40] :helptags /home/username/.vim/bundle/vim-colors-solarized/doc/
[131003 09:49:40] :helptags /home/username/.vim/bundle/nerdtree/doc/
[131003 09:49:40] Helptags: 4 bundles processed
[131003 09:50:12] Bundle ctrlp
[131003 09:50:12] $ git clone --recursive 'https://github.com/vim-scripts/ctrlp.git' '/home/username/.vim/bundle/ctrlp'
[131003 09:50:12] > Cloning into '/home/username/.vim/bundle/ctrlp'...^@fatal: https://github.com/vim-scripts/ctrlp.gi
t/info/refs?service=git-upload-pack not found: did you run git update-server-info on the server?^@
[131003 09:50:13] Helptags:
[131003 09:50:13] :helptags /home/username/.vim/bundle/vundle/doc/
[131003 09:50:13] :helptags /home/username/.vim/bundle/vim-fugitive/doc/
[131003 09:50:13] :helptags /home/username/.vim/bundle/vim-colors-solarized/doc/
[131003 09:50:13] :helptags /home/username/.vim/bundle/nerdtree/doc/
[131003 09:50:13] Helptags: 4 bundles processed
Here is my .vimrc:
filetype plugin indent on
syntax enable
set background=light
set smartindent
set tabstop=4
set shiftwidth=4
set expandtab
set nocompatible " be iMproved
filetype off " required!
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()
" let Vundle manage Vundle
" required!
Bundle 'gmarik/vundle'
" My Bundles here:
"
" original repos on github
Bundle 'tpope/vim-fugitive'
Bundle 'altercation/vim-colors-solarized'
Bundle 'scrooloose/nerdtree'
Bundle 'vbundles/ctrlp'
colorscheme solarized
UPDATE September 2015:
The kien/ctrlp.vim repo is out of date, what you really want is this currently maintained fork.
The correct line in your .vimrc is now:
Plugin 'ctrlpvim/ctrlp.vim'
OLD ANSWER:
To install CtrlP with Vundle, the correct line in your .vimrc is now:
Plugin 'kien/ctrlp.vim'
Note that the .vim
is necessary.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With