aboutsummaryrefslogtreecommitdiff
path: root/ginit.vim
diff options
context:
space:
mode:
authorjdhao <jdhao@hotmail.com>2020-09-23 10:27:27 +0800
committerGitHub <noreply@github.com>2020-09-23 10:27:27 +0800
commit6ad58314002b3807449d1dedc997f3316b2b1afd (patch)
treefbd2666c5cfc9f633b083c153d278272122b98d1 /ginit.vim
parenta86cc7a25173b8cbe67b245c474ccc93c7ee8fb3 (diff)
remove guicursor setting
It seems that put guicursor setting here has no effect. The cursor color and shape won't change.
Diffstat (limited to 'ginit.vim')
-rw-r--r--ginit.vim11
1 files changed, 0 insertions, 11 deletions
diff --git a/ginit.vim b/ginit.vim
index c3d3f4c..38ff397 100644
--- a/ginit.vim
+++ b/ginit.vim
@@ -3,17 +3,6 @@ inoremap <silent> <S-Insert> <C-R>+
cnoremap <S-Insert> <C-R>+
nnoremap <silent> <C-6> <C-^>
-" Highlight groups for cursor color
-augroup cusor_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
-
" To check if neovim-qt is running, use `exists('g:GuiLoaded')`,
" see https://github.com/equalsraf/neovim-qt/issues/219
if exists('g:GuiLoaded')