From 9ec50004c1c3de30e755003a4e6a1001be4b8ca2 Mon Sep 17 00:00:00 2001 From: Thomas FORGIONE Date: Sat, 15 Oct 2016 12:41:13 +0200 Subject: [PATCH] Unified init.vim and added custom vim theme --- init.vim | 4 +++- vimrc | 23 +++++++++++++---------- 2 files changed, 16 insertions(+), 11 deletions(-) diff --git a/init.vim b/init.vim index 203fc7d..11f5074 100644 --- a/init.vim +++ b/init.vim @@ -34,6 +34,8 @@ Plug 'hdima/python-syntax' Plug 'tpope/vim-fugitive' " Typescript-doc Plug 'https://gogs.tforgione.fr/tforgione/typescript-doc.git' +" My colorscheme +Plug 'https://gogs.tforgione.fr/tforgione/peach' " Add plugins to &runtimepath call plug#end() " }}} @@ -92,7 +94,7 @@ endif " COLOR #############################################################{{{ set background=dark " use dark background syntax enable " enable syntax processing -colorscheme mypeachpuff " awesome colorscheme +colorscheme peach " awesome colorscheme " }}} " INDENTATION #######################################################{{{ diff --git a/vimrc b/vimrc index a31234e..896108d 100644 --- a/vimrc +++ b/vimrc @@ -17,12 +17,14 @@ Plugin 'othree/html5.vim' Plugin 'suan/vim-instant-markdown' " YouCompleteMe : best vim completer ever Plugin 'Valloric/YouCompleteMe' -" Generate doc for typescript functions -Plugin 'https://gogs.tforgione.fr/tforgione/typescript-doc.git' " Coloration for javascript Plugin 'jelera/vim-javascript-syntax' " Coloration for typescript Plugin 'leafgarland/typescript-vim' +" Generate doc for typescript functions +Plugin 'https://gogs.tforgione.fr/tforgione/typescript-doc.git' +" My colorscheme +Plugin 'https://gogs.tforgione.fr/tforgione/peach' call vundle#end() " required filetype plugin indent on " required @@ -31,14 +33,6 @@ filetype plugin indent on " required " syntax on " Highlight bad spaces (not working...) -" highlight BadWhitespace ctermbg=red guibg=red -" match BadWhitespace / \| \+\t/ -" }}} - -" COLOR #############################################################{{{ -set background=dark -syntax enable -colorscheme peachpuff " }}} " INDENTATION #######################################################{{{ @@ -78,6 +72,14 @@ let g:airline_theme='dark' set t_Co=256 " }}} +" COLOR #############################################################{{{ +set background=dark +syntax enable +colorscheme peach +highlight BadWhitespace ctermbg=red guibg=red +match BadWhitespace / \| \+\t/ +" }}} + " SEARCHING #########################################################{{{ set title set showmatch @@ -135,3 +137,4 @@ nnoremap :vs \| :YcmCompleter GoTo \| inoremap :vs \| :YcmCompleter GoTo \| vnoremap :vs \| :YcmCompleter GoTo \| " }}} +