From 9b72f140f5382a7c157ce0c6bcc4ccaaee5ab863 Mon Sep 17 00:00:00 2001 From: Tony Duckles Date: Sun, 30 Oct 2011 21:59:33 -0500 Subject: [PATCH] .vimrc: background=dark --- .vimrc | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.vimrc b/.vimrc index 829ed92..73c8847 100644 --- a/.vimrc +++ b/.vimrc @@ -27,19 +27,24 @@ if &t_Co > 2 || has("gui_running") set t_Sf=[3%dm set t_Sb=[4%dm endif - syntax on - set hlsearch " Highlight all search matches + + syntax on " syntax highligting + set hlsearch " highlight all search matches " Press Space to turn off highlighting and clear any message already displayed. :nnoremap :nohlsearch:echo + " Define to-do colors if !exists("autocmd_colorscheme_loaded") let autocmd_colorscheme_loaded = 1 autocmd ColorScheme * highlight TodoRed ctermbg=LightRed guibg=#E01B1B ctermfg=White guifg=#002b37 endif + " Solarized color-scheme let g:solarized_termtrans=1 " Always use terminal's default bg color + set background=dark colorscheme solarized - " Auto-highlight to-do's + + " Auto-highlight TODO's if has("autocmd") if v:version > 701 autocmd Syntax * call matchadd('TodoRed', '\W\zs\(TODO\)') -- 2.43.0