From e33139ec2b0a4278e41da2e73afd0bfe56bef916 Mon Sep 17 00:00:00 2001 From: Bradley Small <vc.Bradley.Small@lowes.com> Date: Wed, 20 Nov 2019 13:36:22 -0500 Subject: [PATCH] updating vimrc for solarized --- .vimrc | 30 +++++++++++++++++++----------- 1 file changed, 19 insertions(+), 11 deletions(-) diff --git a/.vimrc b/.vimrc index 09552a0..7b8f4c4 100644 --- a/.vimrc +++ b/.vimrc @@ -1,3 +1,4 @@ +set background=light " ~/.vimrc (configuration file for vim only){{{ " " Plugged Plugins -------------------------{{{ @@ -18,7 +19,9 @@ Plug 'tpope/vim-rhubarb' Plug 'vim-scripts/loremipsum' Plug 'tpope/vim-surround' + Plug 'altercation/vim-colors-solarized' + Plug 'scrooloose/nerdtree' Plug 'Xuyuanp/nerdtree-git-plugin' @@ -66,7 +69,20 @@ filetype indent on syntax on syntax enable -colorscheme koehler +" ------------------------------------------------------------------ +" Solarized Colorscheme Config +" ------------------------------------------------------------------ +colorscheme solarized +call togglebg#map("") +if has('gui_running') + set background=light +else + set background=dark +endif +" }}} + + +" ------------------------------------------------------------------ " }}} " swap file stuff --------------------------------------------------{{{ @@ -124,16 +140,6 @@ if &t_Co > 2 || has("gui_running") set hlsearch endif -"if has('gui_running') -" set background=light -"else -" let g:solarized_termcolors=16 -" set background=light -"endif -"set background=dark -"colorscheme solarized -" }}} - " Leader settings ------------------------{{{ let mapleader = "\\" let maplocalleader = "\\" @@ -430,3 +436,5 @@ nnoremap <F8> :call UpdateTags() " Fugitive gitlab setting --------------------------------- {{{ let g:fugitive_gitlab_domains = ['https://git.qoto.org'] " }}} + + -- GitLab