aboutsummaryrefslogtreecommitdiffstats
path: root/plugin/colors.vim
blob: 695fb91c31840e411c5381708e37a7e762e3d563 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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>