mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-03-20 01:37:45 +01:00
Enabling Gruvbox Theme & True Color Support for Nvim
Gruvbox better suits the system since terminal's color scheme already is Gruvbox. The changes also enable the truecolor support which is natively supported by st. The colors look better and distinguishable this way. The last line with autocmd is for transparency. Without it, transparency wouldn't work. I hugely recommend trying this out. You'll maybe commit the changes later.
This commit is contained in:
parent
44d740bd44
commit
1e60921946
@ -18,11 +18,11 @@ Plug 'jreybert/vimagit'
|
|||||||
Plug 'vimwiki/vimwiki'
|
Plug 'vimwiki/vimwiki'
|
||||||
Plug 'vim-airline/vim-airline'
|
Plug 'vim-airline/vim-airline'
|
||||||
Plug 'tpope/vim-commentary'
|
Plug 'tpope/vim-commentary'
|
||||||
Plug 'ap/vim-css-color'
|
Plug 'morhetz/gruvbox'
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
||||||
set title
|
set title
|
||||||
set bg=light
|
set bg=dark
|
||||||
set go=a
|
set go=a
|
||||||
set mouse=a
|
set mouse=a
|
||||||
set nohlsearch
|
set nohlsearch
|
||||||
@ -32,6 +32,15 @@ set noruler
|
|||||||
set laststatus=0
|
set laststatus=0
|
||||||
set noshowcmd
|
set noshowcmd
|
||||||
|
|
||||||
|
let &t_8f="\<Esc>[38;2;%lu;%lu;%lum"
|
||||||
|
let &t_8b="\<Esc>[48;2;%lu;%lu;%lum"
|
||||||
|
set termguicolors
|
||||||
|
|
||||||
|
let g:gruvbox_transparent_bg='1'
|
||||||
|
let g:gruvbox_contrast_dark='hard'
|
||||||
|
colorscheme gruvbox
|
||||||
|
autocmd VimEnter * hi Normal ctermbg=NONE guibg=NONE
|
||||||
|
|
||||||
" Some basics:
|
" Some basics:
|
||||||
nnoremap c "_c
|
nnoremap c "_c
|
||||||
set nocompatible
|
set nocompatible
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user