From da1f6c3b6bb2b834783a09f08de0bffe1aac9d17 Mon Sep 17 00:00:00 2001 From: ManjaroOne666 Date: Wed, 13 Sep 2017 18:12:03 +0100 Subject: [PATCH] vim-css-colors plugin added --- vimrc | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/vimrc b/vimrc index e2b825d..20d9792 100644 --- a/vimrc +++ b/vimrc @@ -7,11 +7,9 @@ call vundle#begin() " alternatively, pass a path where Vundle should install plugins "call vundle#begin('~/some/path/here') - " let Vundle manage Vundle, required Plugin 'VundleVim/Vundle.vim' - " The following are examples of different formats supported. " Keep Plugin commands between vundle#begin/end. " plugin on GitHub repo @@ -27,22 +25,18 @@ Plugin 'tpope/vim-fugitive' " The sparkup vim script is in a subdirectory of this repo called vim. " Pass the path to set the runtimepath properly. - " Plugin 'rstacruz/sparkup', {'rtp': 'vim/'} " Install L9 and avoid a Naming conflict if you've already installed a " different version somewhere else. " Plugin 'ascenator/L9', {'name': 'newL9'} - " Nerdtree and nerdtree-git Plugin 'scrooloose/nerdtree.git' Plugin 'Xuyuanp/nerdtree-git-plugin' - "css3-syntax Plugin 'hail2u/vim-css3-syntax.git' - "scss-syntax Plugin 'cakebaker/scss-syntax.vim' @@ -67,6 +61,9 @@ Plugin 'ctrlpvim/ctrlp.vim' " Obsession Plugin 'tpope/vim-obsession' +" vim-css-color +Plugin 'ap/vim-css-color' + " All of your Plugins must be added before the following line call vundle#end() " required filetype plugin indent on " required @@ -140,7 +137,11 @@ set statusline+=%(%l,%c%V\ %=\ %P%) " line number,virtual line numbe " always show statusline set laststatus=2 - +" set status to change the status line based on mode +if version >= 700 + au InsertEnter * hi StatusLine term=reverse ctermbg=5 gui=undercurl guisp=Magenta + au InsertLeave * hi StatusLine term=reverse ctermfg=0 ctermbg=2 gui=bold,reverse +endif " set a right margin and it's colour