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/options.vim | 7 ------- 1 file changed, 7 deletions(-) (limited to 'core/options.vim') diff --git a/core/options.vim b/core/options.vim index 84a7d09..8a5d5f3 100644 --- a/core/options.vim +++ b/core/options.vim @@ -150,13 +150,6 @@ if executable('rg') set grepformat=%f:%l:%c:%m endif -" Highlight groups for cursor color -augroup cursor_color - autocmd! - autocmd ColorScheme * highlight Cursor cterm=bold gui=bold guibg=cyan guifg=black - autocmd ColorScheme * highlight Cursor2 guifg=red guibg=red -augroup END - " Set up cursor color and shape in various mode, ref: " https://github.com/neovim/neovim/wiki/FAQ#how-to-change-cursor-color-in-the-terminal set guicursor=n-v-c:block-Cursor/lCursor,i-ci-ve:ver25-Cursor2/lCursor2,r-cr:hor20,o:hor20 -- cgit v1.2.3