From a36041782252c79a2dd20a5488954aaaef196335 Mon Sep 17 00:00:00 2001 From: jdhao Date: Wed, 17 Feb 2021 17:05:40 +0800 Subject: Move cursor color autocmd to autocommands script --- core/autocommands.vim | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'core/autocommands.vim') diff --git a/core/autocommands.vim b/core/autocommands.vim index 57b07cb..00c48e2 100644 --- a/core/autocommands.vim +++ b/core/autocommands.vim @@ -76,4 +76,11 @@ augroup cmd_msg_cls autocmd! autocmd CursorHold * call timer_start(25000, funcref('s:empty_message')) augroup END + +" Highlight groups for cursor color +augroup cursor_color + autocmd! + autocmd ColorScheme * highlight Cursor cterm=bold gui=bold guibg=#00c918 guifg=black + autocmd ColorScheme * highlight Cursor2 guifg=red guibg=red +augroup END "} -- cgit v1.2.3