cfg - Improved cursor display

This commit is contained in:
Emmanuel BENOîT 2023-06-17 17:27:52 +02:00
parent 642f3904bb
commit e2db0b2e6e
No known key found for this signature in database
GPG key ID: 2356DC6956CF54EF

View file

@ -10,3 +10,8 @@ endfunction
set cursorline number set cursorline number
nnoremap <silent> <Leader>oc :set cursorline! cursorcolumn!<CR> nnoremap <silent> <Leader>oc :set cursorline! cursorcolumn!<CR>
nnoremap <silent> <Leader>oC :call <SID>ToggleCursorMode()<CR> nnoremap <silent> <Leader>oC :call <SID>ToggleCursorMode()<CR>
" Use a bar-like cursor in insert mode, and a blinking block in replace mode
let &t_SI = "\e[6 q"
let &t_SR = "\e[0 q"
let &t_EI = "\e[2 q"