add: vim theme and plugin

This commit is contained in:
Tobias Reisinger 2020-01-07 21:36:48 +01:00
parent ffa37d86e4
commit d1f56bfdda

View file

@ -30,8 +30,32 @@ call plug#begin('~/.config/vim/plugged')
Plug 'airblade/vim-gitgutter'
Plug 'fidian/hexmode'
Plug 'scrooloose/nerdtree'
Plug 'itchyny/lightline.vim'
Plug 'nanotech/jellybeans.vim'
call plug#end()
" Nerd Tree Configuration
map <C-n> :NERDTreeToggle<CR>
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif
set laststatus=2
if has('termguicolors') && &termguicolors
let g:jellybeans_overrides['background']['guibg'] = 'none'
endif
let g:jellybeans_overrides = {
\ 'Todo': {
\ 'guifg': '303030',
\ 'guibg': 'f0f000',
\ 'ctermfg': 'Black',
\ 'ctermbg': 'Yellow',
\ 'attr': 'bold'
\ },
\ 'Comment': { 'guifg': 'cccccc' },
\ 'LineNr': { 'guifg': 'aaaaaa' },
\ 'background': {
\ 'ctermbg': 'none',
\ '256ctermbg': 'none'
\ },
\}
colorscheme jellybeans