我正在尝试使用Vundle安装vim-scala和vim-sensible插件 . 我按照这里的指示:https://github.com/gmarik/Vundle.vim
在我的 ~/.vim
目录中,我有一个名为'bundle'的文件夹,其中包含我从教程中下载的Vundle.vim目录 .
在我 ~/.vimrc
我有:
set nocompatible
filetype off
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')
" let Vundle manage Vundle, required
Plugin 'gmarik/Vundle.vim'
Plugin 'tpope/vim-sensible'
Plugin 'derekwyatt/vim-scala'
" All of your Plugins must be added before the following line
call vundle#end() " required
filetype plugin indent on " required
然后我打开Vim,输入
:PluginInstall
我的插件显示已成功安装 . 但是,当我再次打开Vim时,没有任何变化 .
Edit: 我应该注意到使用Pathogen时遇到了同样的问题,所以我不认为这是Vundle中的一个错误 .
Edit: 我的 .vim
和 .vimrc
在 /root/.vim
;我在Linux上运行 .
1 回答
根据提问者jeffrey,他解决了他的问题 . 他的插件正在加载,但他没有意识到,因为插件没有改变任何明显的,可见的Vim设置 .