1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00

Change cursor color and shape

This commit is contained in:
jdhao 2020-03-05 01:08:34 +08:00
parent 3403248365
commit 36de495cd8

12
ui.vim
View File

@ -1,4 +1,4 @@
"{ Colorscheme and highlight settings
"{ UI-related settings
"{{ General settings about colors
" Enable true colors support. Do not use this option if your terminal does not
" support true colors! For a comprehensive list of terminals supporting true
@ -51,4 +51,14 @@ endif
" let g:badwolf_tabline = 2
" colorscheme badwolf
"}}
"{{ Cursor colors and shapes
" highlight groups for cursor color
highlight Cursor cterm=bold gui=bold guibg=cyan guifg=black
highlight Cursor2 guifg=red guibg=red
" 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
"}}
"}