I installed Vundle via the instructions given at this blog http://web.archive.org/web/20120731003342/http://www.charlietanksley.net/philtex/sane-vim-plugin-management
bu
Vundle is installed in
~/.vim/bundle/vundle
so this line
set rtp+=~/.vim/vundle.git/
should be
set rtp+=~/.vim/bundle/vundle
~/.vim/vundle.git/
is the path of a folder containing everything that makes a Git repository a Git repository. You can't really expect Vim to find usable scripts there.
The .vimrc here worked for me: https://github.com/wavded/vim-stylus/issues/26#issuecomment-13114948
I encountered the same problem. After tried all the methods mentioned recommended by others and failed. Finally, I found that on our Ubuntu 14.04.1 service, VIM is not installed as default!
It is hard to realize this problem, since VIM users like me just used to type "vi" instead of "vim", and it shows a "VIM - improved VI" welcome page.
So make sure you have installed VIM:
whereis vim
Or just type:
vim
If it is not installed, do as it recommends:
sudo apt-get install vim
I just met the problem and I resolved it after reading
https://github.com/gmarik/vundle/issues/168
It says.
This might happen if you call the vi editor explicitly (to avoid any aliases) by /usr/bin/vi instead of vim. A plain "git commit" would do this for me before I configured it to use vim instead. (git config --global core.editor "vim")
as @romainl said my vundle installed in .vim/bundle/Vundle.vim/
, so you need to change line :
set rtp+=~/.vim/vundle.git/
to
set rtp+=~/.vim/bundle/Vundle.vim/
yeah thank you ~
vi ~/.gitconfig
and
[core]
autocrlf = false
set
[core]
autocrlf = true
then $rm -rf ~/.vim/bundle/vundle
and $git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle