Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unknown function: vundle#begin~~~~again #553

Closed
YDSS opened this issue Jan 13, 2015 · 14 comments
Closed

Unknown function: vundle#begin~~~~again #553

YDSS opened this issue Jan 13, 2015 · 14 comments

Comments

@YDSS
Copy link

YDSS commented Jan 13, 2015

I'm so confused, and I thought my problem is not like #506. I have no idea where to check.
Any answer is helpful!

Here is the error:
error

Here is my .vimrc:

set nocompatible
syntax on

filetype off                  " required

" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
let path='~/.vim/bundle/Vundle.vim'

call vundle#begin()
" alternatively, pass a path where Vundle should install plugins

" let Vundle manage Vundle, required
Plugin 'gmarik/Vundle.vim'

" All of your Plugins must be added before the following line
call vundle#end()            " required

filetype plugin indent on    " required

set fencs=utf-8,gb18030,gb2312,latin-1
set fenc=utf-8
set enc=utf-8

set nu
set ts=4
set sw=4
set smarttab
set expandtab
set autoindent
set cindent

set foldmethod=marker
set foldmarker={,}
set foldlevel=10

" NERDTree
"map <F7> <Esc>:NERDTreeToggle<CR>
"map <F8> <Esc>:TlistToggle<CR>

"let NERDTreeWinSize=45

Here is output of :scriptnames

~/.jumbo/etc/vimrc
~/.jumbo/share/vim/vimfiles/archlinux.vim
~/.jumbo/share/vim/vim74/vimrc_example.vim
~/.jumbo/share/vim/vim74/syntax/syntax.vim
~/.jumbo/share/vim/vim74/syntax/synload.vim
~/.jumbo/share/vim/vim74/syntax/syncolor.vim
~/.jumbo/share/vim/vim74/filetype.vim
~/.jumbo/share/vim/vim74/ftplugin.vim
~/.jumbo/share/vim/vim74/indent.vim
~/.vimrc
~/.jumbo/share/vim/vim74/syntax/nosyntax.vim
~/.jumbo/share/vim/vim74/ftoff.vim
~/.jumbo/share/vim/vimfiles/autoload/vundle.vim
~/.jumbo/share/vim/vim74/plugin/getscriptPlugin.vim
~/.jumbo/share/vim/vim74/plugin/gzip.vim
~/.jumbo/share/vim/vim74/plugin/matchparen.vim
~/.jumbo/share/vim/vim74/plugin/netrwPlugin.vim
~/.jumbo/share/vim/vim74/plugin/rrhelper.vim
~/.jumbo/share/vim/vim74/plugin/spellfile.vim
~/.jumbo/share/vim/vim74/plugin/tarPlugin.vim
~/.jumbo/share/vim/vim74/plugin/tohtml.vim
~/.jumbo/share/vim/vim74/plugin/vimballPlugin.vim
~/.jumbo/share/vim/vim74/plugin/zipPlugin.vim
~/.jumbo/share/vim/vim74/scripts.vim
~/.jumbo/share/vim/vim74/ftplugin/vim.vim
~/.jumbo/share/vim/vim74/indent/vim.vim
~/.jumbo/share/vim/vim74/syntax/vim.vim
~/.jumbo/share/vim/vim74/syntax/lua.vim
~/.jumbo/share/vim/vim74/syntax/perl.vim
~/.jumbo/share/vim/vim74/syntax/pod.vim
~/.jumbo/share/vim/vim74/syntax/python.vim
@Shougo
Copy link
Contributor

Shougo commented Jan 13, 2015

You should check ~/.vim/bundle/Vundle.vim directory.
Vundle is installed?

@YDSS
Copy link
Author

YDSS commented Jan 14, 2015

Yes,of course~~~~~~
pwd

@tomofumikitano
Copy link

Your .vimrc works on my Mac. What OS and vim package are you using?
If you are using pre-installed minimum version of vim, such as vim-tiny on Ubuntu for example, please try uninstall minimum version and reinstall regular version of vim package.

@YDSS
Copy link
Author

YDSS commented Jan 14, 2015

@tomofumikitano I'm not sure if it is a regular version or not.My os is centos~

@YDSS
Copy link
Author

YDSS commented Jan 14, 2015

@tomofumikitano Here is version:

version

@lucc
Copy link
Contributor

lucc commented Jan 14, 2015

What does :echo globpath(&rtp, 'autoload/vundle.vim') give for you?

@tomofumikitano
Copy link

When I use CentOS/RedHat, I always install vim-enhanced package. So please try,

yum list installed | grep vim to list installed vim package
yum install vim-enhanced to install vim-enhanced package

@YDSS
Copy link
Author

YDSS commented Jan 15, 2015

@lucc
Here is print of :echo globpath(&rtp, 'autoload/vundle.vim')
echo

@YDSS
Copy link
Author

YDSS commented Jan 15, 2015

@tomofumikitano
This vim is not installed by yum but a internal tool of company~

@YDSS
Copy link
Author

YDSS commented Jan 15, 2015

@lucc
I notice the first path is not used in this enviroment, so I try to hide it and vundle works well now.But I still don't know why~~~

@lucc
Copy link
Contributor

lucc commented Jan 15, 2015

We have seen many issues when people have two versions of Vundle in their rtpaths. Don't know why it is a problem either (at least not if both are the same version). Some Vim internal stuff maybe. But I think one can easily live with just one version of Vundle 😄

@YDSS
Copy link
Author

YDSS commented Jan 15, 2015

@lucc Thanks!Since this issue has been resolved, I think you can close it.

@lucc
Copy link
Contributor

lucc commented Jan 15, 2015

As you opened it and I don't have write access to the repository I think you can close it.

@YDSS YDSS closed this as completed Jan 16, 2015
@ryanwinchester
Copy link

I had this problem and recloned Vundle.vim and the problem went away.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants