aboutsummaryrefslogtreecommitdiff
path: root/ui.vim
diff options
context:
space:
mode:
authorjdhao <jdhao@hotmail.com>2020-03-05 01:08:34 +0800
committerjdhao <jdhao@hotmail.com>2020-03-05 01:08:34 +0800
commit36de495cd8839b8eab511b4839dea2f1a9df0654 (patch)
tree3f12d5410d7180ebdaada92f0c07d4a13f4788d2 /ui.vim
parent3403248365dc3816d33e29e82990d7ae0797d726 (diff)
Change cursor color and shape
Diffstat (limited to 'ui.vim')
-rw-r--r--ui.vim12
1 files changed, 11 insertions, 1 deletions
diff --git a/ui.vim b/ui.vim
index acca9c4..c85be4b 100644
--- a/ui.vim
+++ b/ui.vim
@@ -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
+"}}
"}