Sua*_*bah 3 vim plugins color-scheme vundle
这是我的 .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
Run Code Online (Sandbox Code Playgroud)
用vim打开文件没问题,但是打字时> vim example.txt
不显示gruvbox colorscheme,我用的是windows,怎么解决?
小智 6
正如我从你的问题中了解到的,你可以在 gvim 中打开一个文件,打开颜色方案但不能从终端打开?Gruvbox 有明暗两种模式。可能是 gvim 默认使用暗模式,而终端在亮模式下运行。您会尝试将以下行添加到您的 .vimrc 中吗?
set background=dark
归档时间: |
|
查看次数: |
3149 次 |
最近记录: |