aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2014-05-30 15:19:17 -0400
committerTeddy Wing2014-05-30 15:19:17 -0400
commit27bb59e2e72e42efc4468f48fa57ac82e7d279ee (patch)
tree8782431bf8ecc35457c6f94778535c61224d8cc9
parent6036b8b3bc9383adb5528bf172974cde8cb37f9f (diff)
downloaddotvim-27bb59e2e72e42efc4468f48fa57ac82e7d279ee.tar.bz2
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.
-rw-r--r--vimrc6
1 files changed, 5 insertions, 1 deletions
diff --git a/vimrc b/vimrc
index 7d3e03f..b286f62 100644
--- a/vimrc
+++ b/vimrc
@@ -177,6 +177,10 @@
" * Add <leader>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