add: vim theme and plugin
This commit is contained in:
		
							parent
							
								
									ffa37d86e4
								
							
						
					
					
						commit
						d1f56bfdda
					
				
					 1 changed files with 24 additions and 0 deletions
				
			
		|  | @ -30,8 +30,32 @@ call plug#begin('~/.config/vim/plugged') | ||||||
|     Plug 'airblade/vim-gitgutter' |     Plug 'airblade/vim-gitgutter' | ||||||
|     Plug 'fidian/hexmode' |     Plug 'fidian/hexmode' | ||||||
|     Plug 'scrooloose/nerdtree' |     Plug 'scrooloose/nerdtree' | ||||||
|  |     Plug 'itchyny/lightline.vim' | ||||||
|  |     Plug 'nanotech/jellybeans.vim' | ||||||
| call plug#end() | call plug#end() | ||||||
| 
 | 
 | ||||||
| " Nerd Tree Configuration | " Nerd Tree Configuration | ||||||
| map <C-n> :NERDTreeToggle<CR> | map <C-n> :NERDTreeToggle<CR> | ||||||
| autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif | 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 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue