From 79926c8d7b62b68071cb5f4930aed6c323e7a3da Mon Sep 17 00:00:00 2001 From: Jérémy Zurcher Date: Thu, 16 Aug 2012 17:36:41 +0200 Subject: use solarized colour theme --- vimrc | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) (limited to 'vimrc') diff --git a/vimrc b/vimrc index 79443b1..3485114 100644 --- a/vimrc +++ b/vimrc @@ -3,16 +3,21 @@ call pathogen#infect() " color scheme -map :let &background = ( &background == "dark" ? "light" : "dark" ) -if !empty($DISPLAY) - set t_Co=256 - colorscheme desert256 -else - colorscheme adobe -endif +" map :let &background = ( &background == "dark" ? "light" : "dark" ) +" if !empty($DISPLAY) +" set t_Co=256 +" colorscheme desert256 +" else +" colorscheme adobe +" endif + +syntax enable +set background=dark +colorscheme solarized +call togglebg#map("") -" Switch syntax highlighting on, when the terminal has colors " Also switch on highlighting the last used search pattern. +" Switch syntax highlighting on, when the terminal has colors if &t_Co > 2 || has("gui_running") syntax on set hlsearch @@ -30,7 +35,7 @@ set nofsync :au BufNewFile * :exe("0r! ~/.vim/skeletons.rb %:p " . &filetype) :au Filetype html,xml,xsl source ~/.vim/scripts/closetag.vim -set list +" set list " set cursorline " set cursorcolumn set foldmethod=marker -- cgit v1.2.3