这是位于$HOME/.vimrc下的我的.vimrc。我已经安装了Vundle。
set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" let Vundle manage Vundle, required
Plugin 'VundleVim/Vundle.vim'
Plugin 'dracula/dracula-theme'
call vundle#end() " required
filetype plugin indent on " required
" Put your non-Plugin stuff after this line通过安装dracula-theme,我可以成功地执行:PluginInstall。不幸的是,主题没有应用,样式保持不变?有什么线索吗?
发布于 2016-10-11 18:51:32
将Plugin 'dracula/dracula-theme'添加到vimrc并使用:PluginInstall使该配色方案对Vim可用,但它并没有告诉Vim使用它。
正如@dNitro在注释中所说的,您必须使用命令colorscheme来设置所需的配色方案。因此,您需要在" Put your non-Plugin stuff after this line行之后向您的vimrc添加一行colorscheme dracula。
https://stackoverflow.com/questions/39924372
复制相似问题