From 38889ddd9be18a420f541f1df19b099aa8e1958e Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Thu, 18 Jun 2020 14:56:14 -0700 Subject: vim: cursor colors --- lib/vimrc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'lib/vimrc') 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 c :set cursorline! cursorcolumn! """ 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) -- cgit v1.2.3