summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2020-06-18 14:56:14 -0700
committerBen Sima <ben@bsima.me>2020-06-18 14:56:14 -0700
commit38889ddd9be18a420f541f1df19b099aa8e1958e (patch)
tree46aff9163bde465679d7ce3ebe009528c343536c /lib
parent22b5d8088eb955a3f7373cb29fb3fdbc25c27401 (diff)
vim: cursor colors
Diffstat (limited to 'lib')
-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)