From 27bb59e2e72e42efc4468f48fa57ac82e7d279ee Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Fri, 30 May 2014 15:19:17 -0400 Subject: vimrc: make even Indent Guides slightly ligher than odd ones If I don't make the colour difference too drastic it still looks all right, and it's _much_ easier to follow the guide if it's a different colour than the two surrounding it. --- vimrc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'vimrc') diff --git a/vimrc b/vimrc index 7d3e03f..b286f62 100644 --- a/vimrc +++ b/vimrc @@ -177,6 +177,10 @@ " * Add tx to delete the current buffer and go to the previous " tab. When I use :bd it goes to the next tab but more often I want to " go back to the previous tab. +" * Colour even Indent Guides differently (make them slightly lighter +" than the odd ones). Originally I thought it was distracting but I +" just caved. Much easier to follow the line when it gets really long +" if it's a different colour than its neighbors. " @@ -387,7 +391,7 @@ if exists('g:colors_name') && g:colors_name ==# 'twilight256' let g:indent_guides_auto_colors = 0 autocmd VimEnter,Colorscheme * :hi IndentGuidesOdd ctermbg=238 - autocmd VimEnter,Colorscheme * :hi IndentGuidesEven ctermbg=238 + autocmd VimEnter,Colorscheme * :hi IndentGuidesEven ctermbg=240 endif -- cgit v1.2.3