From 7982e2fae5defeb296c210e2aae098a8a11df25a Mon Sep 17 00:00:00 2001 From: Ariel D'ALessandro Date: Mon, 26 Jul 2021 20:57:58 +0200 Subject: Initialization of the repository, copy from https://github.com/adalessa/dotfiles --- plugin/colors.vim | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 plugin/colors.vim (limited to 'plugin/colors.vim') 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 = "\[38;2;%lu;%lu;%lum" + let &t_8b = "\[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 cc :call ColorMyPencils() -- cgit v1.2.3