无法使用Vundle来源vimrc文件

时间:2017-09-23 23:57:06

标签: vim macos-sierra vundle

我使用Vundle作为我的vim插件管理器,我在运行时注意到了

source ~/.vimrc它给我一个vundle加载错误。但是我的插件工作正常。

我得到的错误是

192-168-1-9:dotfiles sameeragayan$ source ~/.vimrc 
-bash: filetype: command not found
-bash:  set the runtime path to include Vundle and initialize
set rtp+=~/dotfiles/vim/bundle/Vundle.vim
call vundle#begin()



: No such file or directory
-bash: Plugin: command not found
-bash: /Users/sameeragayan/.vimrc: line 13: syntax error near unexpected token `('
-bash: /Users/sameeragayan/.vimrc: line 13: `call vundle#begin()'

当我检查路径(~/dotfiles/vim/bundle/Vundle.vim)时,我可以看到Vundle文件在路径中

enter image description here

以下是我的vimrc文件(符号链接到~/.vimrc

set nocompatible " be iMproved, required
filetype off     " required
filetype plugin indent on
" set the runtime path to include Vundle and initialize
set rtp+=~/dotfiles/vim/bundle/Vundle.vim
call vundle#begin()



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

call vundle#begin()

" other plugins plugins
" E.g Plugin 'vim-airline/vim-airline'

call vundle#end()

我的vim版本是 - 版本8.0.1100。 MacOS版本是 - 10.12.5(MacOSSierra)。

PS:我没有运气检查this SO question

1 个答案:

答案 0 :(得分:0)

在提及thrust::host_vector<SomeStruct> testEntries(arrayToDelete.begin(),endIterator); FDinoff时,我无法从bash中获取melpomene文件。

有关详细信息,请参阅following SO question