summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/vimrc8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/vimrc b/lib/vimrc
index 99d006d..2a23621 100644
--- a/lib/vimrc
+++ b/lib/vimrc
@@ -79,8 +79,8 @@ syntax match Warning display "\t\+ "
match ErrorMsg /\%80v.\%81v./
""" Easily find cursor with crosshair (,c)
-:hi CursorLine cterm=NONE term=reverse ctermbg=7 guibg=Grey90
-:hi CursorColumn cterm=NONE term=reverse ctermbg=7 guibg=Grey90
+":hi CursorLine cterm=NONE term=reverse ctermbg=7 guibg=Grey90
+":hi CursorColumn cterm=NONE term=reverse ctermbg=7 guibg=Grey90
:nnoremap <Leader>c :set cursorline! cursorcolumn!<CR>
""" File browser
@@ -189,11 +189,13 @@ endfunction
" --- Vim interface ------------------------------------------------------------
call s:hi('Normal')
+highlight clear Cursor
highlight clear CursorLine " clear the underline nonsense
call s:hi('Cursor', s:black, s:sblue)
+call s:hi('lCursor', s:black, s:sblue)
call s:hi('CursorLine', s:black, s:sblue, s:none)
call s:hi('CursorLineNr', s:white, s:sblue, s:bold)
-call s:hi('ColorColumn', s:black, s:sblue)
+call s:hi('CursorColumn', s:black, s:sblue, s:none)
call s:hi('Search', s:black, s:purple)
call s:hi('Visual', s:black, s:green)
call s:hi('ErrorMsg', s:white, s:red)