gruvbox vim

This commit is contained in:
Marco Thomas
2021-05-25 09:19:07 +02:00
parent cfffaed960
commit c2a3b0bcb5

View File

@@ -12,7 +12,7 @@ let mapleader = "\<Space>"
" ============================== vim-plug " ============================== vim-plug
call plug#begin() call plug#begin()
Plug 'arcticicestudio/nord-vim' " color scheme Plug 'morhetz/gruvbox' " color scheme
Plug 'tpope/vim-sleuth' " heuristic file indendation Plug 'tpope/vim-sleuth' " heuristic file indendation
@@ -39,8 +39,8 @@ call plug#end()
" ============================== Colors " ============================== Colors
syntax on syntax on
set background=dark set background=light
colorscheme nord colorscheme gruvbox
hi Normal ctermbg=NONE guibg=NONE hi Normal ctermbg=NONE guibg=NONE
set termguicolors set termguicolors
@@ -79,7 +79,7 @@ function! FileNameWithIcon() abort
return winwidth(0) > 70 ? WebDevIconsGetFileTypeSymbol() . ' ' . expand('%:T') : '' return winwidth(0) > 70 ? WebDevIconsGetFileTypeSymbol() . ' ' . expand('%:T') : ''
endfunction endfunction
let g:lightline = { 'colorscheme': 'nord' } let g:lightline = { 'colorscheme': 'gruvbox' }
let g:lightline.component_function = { 'gitstatus': 'GitStatus' } let g:lightline.component_function = { 'gitstatus': 'GitStatus' }
let g:lightline.component = { 'filename_with_icon': '%{FileNameWithIcon()}' } let g:lightline.component = { 'filename_with_icon': '%{FileNameWithIcon()}' }