Updated vimrc to work with base16 themes

This commit is contained in:
2016-06-14 23:10:48 +01:00
parent af8656dfb4
commit ccb37c7205
+18 -8
View File
@@ -4,6 +4,7 @@ let g:python_host_prog=system("pyenv which python | xargs echo -n")
let g:python3_host_prog=system("pyenv which python3 | xargs echo -n")
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=/usr/local/Cellar/fzf/HEAD
call plug#begin()
@@ -48,10 +49,17 @@ Plug 'zchee/deoplete-jedi'
Plug 'benekastah/neomake'
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
Plug 'jeetsukumaran/vim-buffergator'
Plug 'chriskempson/base16-vim'
Plug 'vim-airline/vim-airline-themes'
call plug#end() " required
filetype on
filetype plugin on
filetype indent on
if filereadable(expand("~/.vimrc_background"))
let base16colorspace=256
source ~/.vimrc_background
endif
" ===================================
" General vim settings
" ====================================
@@ -210,14 +218,13 @@ let g:indentLine_enabled = 0
" solarized settings
" ====================================
" Set to the dark solarized colour scheme
colorscheme solarized
set background=dark
let g:solarized_termtrans = 1
let g:solarized_termcolors=16
let g:solarized_visibility="high"
let g:solarized_contrast = "high"
hi Visual term=reverse cterm=reverse guibg=Grey
set t_Co=16
" colorscheme solarized
" set background=dark
" let g:solarized_termtrans = 1
"let g:solarized_termcolors=16
"let g:solarized_visibility="high"
"let g:solarized_contrast = "high"
" hi Visual term=reverse cterm=reverse guibg=Grey
" ====================================
" NerdTree Settings
@@ -266,6 +273,8 @@ nmap <leader>7 <Plug>AirlineSelectTab7
nmap <leader>8 <Plug>AirlineSelectTab8
nmap <leader>9 <Plug>AirlineSelectTab9
let g:airline_theme = 'base16'
" ====================================
" Closetag for HTML settings...
" ====================================
@@ -638,3 +647,4 @@ nnoremap <silent> <Left> :call IntelligentVerticalResize('left')<CR>
" endif
" endif
" endif