commit 69b4b0e6e31b1a18cef80213d3f42c042ab011f1
parent 1c340eb6f964647812f9dde05c16e120a0623b4a
Author: Dimitrije Dobrota <mail@dimitrijedobrota.com>
Date: Thu, 21 Sep 2023 18:58:28 +0000
Terminal color configuration, Gruvbox color scheme
Diffstat:
2 files changed, 19 insertions(+), 0 deletions(-)
diff --git a/.xdg/config/vim/gruvbox.vim b/.xdg/config/vim/gruvbox.vim
@@ -0,0 +1,8 @@
+let g:gruvbox_bold=1
+let g:gruvbox_italic=1
+let g:gruvbox_contrast_dark="hard"
+let g:gruvbox_contrast_dark="hard"
+let g:gruvbox_improved_string=1
+let g:gruvbox_improved_warnings=1
+colorscheme gruvbox
+set bg=dark
diff --git a/.xdg/config/vim/vimrc b/.xdg/config/vim/vimrc
@@ -30,6 +30,8 @@ Plugin 'keremc/asyncomplete-clang.vim'
Plugin 'sheerun/vim-polyglot'
Plugin 'bfrg/vim-cpp-modern'
+Plugin 'morhetz/gruvbox'
+
call vundle#end()
filetype plugin indent on
@@ -62,6 +64,14 @@ set incsearch
set list listchars=tab:\ \ ,trail:.
set nowrap
+let &t_ZH="\e[3m"
+let &t_ZR="\e[23m"
+
+set t_Co=256
+let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
+let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"
+set termguicolors
+
" Search
set hlsearch
set ignorecase
@@ -94,3 +104,4 @@ set wildmode=full
highlight Visual ctermfg=yellow ctermbg=gray
source <sfile>:h/clangd.vim
+source <sfile>:h/gruvbox.vim