diff options
| author | Ariel D'ALessandro <dalessandro.ariel@gmail.com> | 2021-07-26 20:57:58 +0200 |
|---|---|---|
| committer | Ariel D'ALessandro <dalessandro.ariel@gmail.com> | 2021-07-26 20:57:58 +0200 |
| commit | 7982e2fae5defeb296c210e2aae098a8a11df25a (patch) | |
| tree | dbcc2ff9d9cec7039635fa0550bbbd02dae82b1a /plugin/colors.vim | |
| download | nvim-conf-7982e2fae5defeb296c210e2aae098a8a11df25a.tar.gz nvim-conf-7982e2fae5defeb296c210e2aae098a8a11df25a.zip | |
Initialization of the repository, copy from https://github.com/adalessa/dotfiles
Diffstat (limited to 'plugin/colors.vim')
| -rw-r--r-- | plugin/colors.vim | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/plugin/colors.vim b/plugin/colors.vim new file mode 100644 index 0000000..695fb91 --- /dev/null +++ b/plugin/colors.vim @@ -0,0 +1,29 @@ +fun! ColorMyPencils() + let g:gruvbox_contrast_dark = 'hard' + let g:gruvbox_bold = 0 + if exists('+termguicolors') + let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum" + let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum" + endif + let g:gruvbox_invert_selection = '0' + + set background=dark + colorscheme gruvbox + + " Transparency + highlight Normal ctermbg=NONE guibg=NONE + highlight EndOfBuffer ctermbg=NONE guibg=NONE + + highlight ColorColumn ctermbg=0 guibg=grey + " highlight Normal guibg=none + " highlight LineNr guifg=#ff8659 + " highlight LineNr guifg=#aed75f + highlight LineNr guifg=#5eacd3 + highlight netrwDir guifg=#5eacd3 + highlight qfFileName guifg=#aed75f + hi TelescopeBorder guifg=#5eacd +endfun + +call ColorMyPencils() + +nnoremap <leader>cc :call ColorMyPencils()<CR> |