[英]Why doesn't my installed plugin 'gruvbox' display?
這是我的.vimrc文件:
set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=$HOME/.vim/bundle/Vundle.vim/
call vundle#begin('$HOME/.vim/bundle/')
" let Vundle manage Vundle, required
Plugin 'VundleVim/Vundle.vim'
" Plugin gruvbox
Plugin 'morhetz/gruvbox'
" All of your Plugins must be added before the following line
call vundle#end() " required
filetype plugin indent on " required
colorscheme gruvbox
可以使用vim打開文件,但是鍵入> vim example.txt
不顯示gruvbox colorscheme,我正在使用Windows,如何解決它?
據您所知,您可以在gvim中打開帶有colorcheme的文件,但不能從終端打開文件? Gruvbox具有亮和暗兩種模式。 可能是gvim在終端以亮模式運行時默認使用暗模式。 您會嘗試在.vimrc中添加以下行嗎?
set background=dark
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.