You are not logged in.

#1 2021-10-16 06:13:25

kovac
Member
Registered: 2020-03-14
Posts: 41

How to get vim gruvbox theme to override urxvt theme when using vim?

I have customized urxvt using the following configuration in .Xresources file.

URxvt.depth: 32
URxvt.background: [92]#000000

URxvt.foreground: #28fe14
URxvt.cursorColor: #28fe14

URxvt.scrollBar: false
URxvt.cursorBlink: true
URxvt.cursorUnderline: false

URxvt.internalBorder: 10

URxvt.font: xft:Dejavu Sans Mono:size=16

And in my vim, I have I have the gruvebox theme installed. Below is my .vimrc:

call plug#begin('~/.vim/plugged')

Plug 'morhetz/gruvbox'
Plug 'Valloric/YouCompleteMe', { 'do': './install.py --clang-completer' }

call plug#end()

let g:gruvbox_hls_cursor = 'orange'
colorscheme gruvbox
set background=dark

set tabstop=4
set shiftwidth=4
set expandtab
set nu

syntax on

let g:ycm_global_ycm_extra_conf = '~/.ycm_extra_conf.py'

Problem is, while for the most part gruvbox theme is working, my cursor color when I'm in vim is matrix green color instead of the default color from gruvbox. Also, the highlighting is   messed up too I think, but the main issue is the cursor. How do I get it to be the default color of gruvbox?

Last edited by kovac (2021-10-16 06:13:54)

Offline

Board footer

Powered by FluxBB