aboutsummaryrefslogtreecommitdiffstats
path: root/plugin/colors.vim
diff options
context:
space:
mode:
authorAriel D'ALessandro <dalessandro.ariel@gmail.com>2021-07-26 20:57:58 +0200
committerAriel D'ALessandro <dalessandro.ariel@gmail.com>2021-07-26 20:57:58 +0200
commit7982e2fae5defeb296c210e2aae098a8a11df25a (patch)
treedbcc2ff9d9cec7039635fa0550bbbd02dae82b1a /plugin/colors.vim
downloadnvim-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.vim29
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>