【问题标题】:Vundle doesn't load pluginVundle 不加载插件
【发布时间】:2016-10-07 19:15:44
【问题描述】:

这是我的.vimrc,位于$HOME/.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

我能够执行:PluginInstall,成功安装dracula-theme。不幸的是没有应用主题并且样式保持不变?有什么线索吗?

【问题讨论】:

  • 添加到.vimrcsyntax oncolorscheme dracula

标签: vim themes vundle


【解决方案1】:

Plugin 'dracula/dracula-theme' 添加到您的vimrc 并使用:PluginInstall 使Vim 可以使用颜色方案,但它并没有告诉Vim 使用它。

正如@dNitro 在评论中所说,您必须使用命令colorscheme 来设置所需的颜色方案。因此,您需要在您的 vimrc 中添加一行 colorscheme dracula " Put your non-Plugin stuff after this line

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-10-14
    • 2015-04-21
    相关资源
    最近更新 更多