mirror of
https://github.com/jdhao/nvim-config.git
synced 2025-06-08 14:14:33 +02:00
move guicursor setting to option.vim
This commit is contained in:
parent
d1b5076f9d
commit
a86cc7a251
11
options.vim
11
options.vim
@ -168,4 +168,15 @@ if executable('rg')
|
|||||||
set grepprg=rg\ --vimgrep\ --no-heading\ --smart-case
|
set grepprg=rg\ --vimgrep\ --no-heading\ --smart-case
|
||||||
set grepformat=%f:%l:%c:%m
|
set grepformat=%f:%l:%c:%m
|
||||||
endif
|
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
|
||||||
"}
|
"}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user