diff options
author | Ben Sima <ben@bsima.me> | 2020-06-18 14:56:14 -0700 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2020-06-18 14:56:14 -0700 |
commit | 38889ddd9be18a420f541f1df19b099aa8e1958e (patch) | |
tree | 46aff9163bde465679d7ce3ebe009528c343536c /lib | |
parent | 22b5d8088eb955a3f7373cb29fb3fdbc25c27401 (diff) |
vim: cursor colors
Diffstat (limited to 'lib')
-rw-r--r-- | lib/vimrc | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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) |