Hello,
when I open vim with the following .vimrc file, the normal mode doesn't show colors. Insert, visual and replace mode do show. After running :source ~/.vimrc the normal mode shows colors too.
My .vimrc file:
" vundle
set nocompatible " be iMproved, required
filetype off " required
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Plugin 'morhetz/gruvbox'
Plugin 'itchyny/lightline.vim'
call vundle#end() " required
filetype plugin indent on " required
" To ignore plugin indent changes, instead use:
"filetype plugin on
"
" Brief help
" :PluginList - lists configured plugins
" :PluginInstall - installs plugins; append ! to update or just :PluginUpdate
" :PluginSearch foo - searches for foo; append ! to refresh local cache
" :PluginClean - confirms removal of unused plugins; append ! to auto-approve removal
"
" see :h vundle for more details or wiki for FAQ
" Put your non-Plugin stuff after this line
set number
syntax on
set background=dark
let g:gruvbox_constrast_dark = 'hard'
autocmd vimenter * colorscheme gruvbox
set laststatus=2 " enable lightline colors
set noshowmode " removes default mode indication
set ttimeout ttimeoutlen=50 " removes delay of switching modes
Doing the steps in README didn't help.
I'm running vim on macOS Mojave inside the terminal and I haven't installed vim via homebrew, I use the preinstalled one.
I think there's no need to delaying the colorscheme so fix
colorscheme gruvbox
instead of
autocmd vimenter * colorscheme gruvbox
this fixed it, thanks
Most helpful comment
I think there's no need to delaying the colorscheme so fix
instead of