mirror of
https://github.com/jdhao/nvim-config.git
synced 2025-06-08 14:14:33 +02:00
move guicursor setting to ginit.vim
This commit is contained in:
parent
98c81c1488
commit
d1b5076f9d
11
ginit.vim
11
ginit.vim
@ -3,6 +3,17 @@ inoremap <silent> <S-Insert> <C-R>+
|
|||||||
cnoremap <S-Insert> <C-R>+
|
cnoremap <S-Insert> <C-R>+
|
||||||
nnoremap <silent> <C-6> <C-^>
|
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')`,
|
" To check if neovim-qt is running, use `exists('g:GuiLoaded')`,
|
||||||
" see https://github.com/equalsraf/neovim-qt/issues/219
|
" see https://github.com/equalsraf/neovim-qt/issues/219
|
||||||
if exists('g:GuiLoaded')
|
if exists('g:GuiLoaded')
|
||||||
|
|||||||
10
ui.vim
10
ui.vim
@ -52,14 +52,4 @@ endif
|
|||||||
" let g:badwolf_tabline = 2
|
" let g:badwolf_tabline = 2
|
||||||
" colorscheme badwolf
|
" 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
|
|
||||||
"}}
|
|
||||||
"}
|
"}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user