Reputation: 12
I'm running Arch and I'm trying to use Vundle to install plugins.
Here's my ~/.vimrc
filetype off
set nocompatible
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Plugin 'scrooloose/syntastic'
Plugin 'scrooloose/nerdtree'
Plugin 'Valloric/YouCompleteMe'
Plugin 'bling/vim-airline'
Plugin 'pangloss/vim-javascript'
call vundle#end()
filetype plugin indent on " Treba nam da Vim prepoznaje filetype
syntax on " Uključujemo syntax highlighting
set tabstop=4 " Broj razmaka koji tab stavlja
set shiftwidth=4 " Razmaci za autoindent
set autoindent " Auto indent!
set expandtab " Stavlja razmake umjesto taba
set smarttab " Dodatna carolija
set number " Line numbers!
set showmatch " Kada je zagrada umetnuta, na sekundu
" skoči do njenog para.
set ruler " Pokazuje Line/column brojeve
set background=dark " Lepo tamno bre
Now when I run vim +PluginInstall +qall
it only seems to install VundleVim/Vundle.vim. But when I :so ~/.vimrc
and reinstall it does it correctly, but the plugins never show up.
:set rtp
also displays all the paths to ~/.vim/bundle
but they still don't show up. I've tried reinstalling vim, but to no avail. What should I do?
Edit #1: Updated ~/.vimrc
to include VundleVim/Vundle.vim.
Upvotes: 4
Views: 5272
Reputation: 171
I have the error E117 when I exec PluginInstall
,because 'set rtp' is not work, the solution is move the runtime! debian.vim
commond to the top of the .vimrc
Upvotes: 0
Reputation: 1988
Typing :VundleInstall
worked for me. I spent a long time doing :PluginInstall
, but I think once you have Vundle
installed (you can check by typing :PluginList
), you can do :VundleInstall
Upvotes: 1
Reputation: 5428
According to the Vundle README, before any other plugins, you have to let Vundle manage itself:
" let Vundle manage Vundle, required
Plugin 'VundleVim/Vundle.vim'
Upvotes: 3