Change cursor in INSERT mode #6

Closed
opened 2022-05-16 17:46:04 +03:00 by i · 0 comments

When write text it's more usefull see another cursor

autocmd InsertEnter,InsertLeave * set cul!

"Mode Settings

let &t_SI.="\e[5 q" "SI = INSERT mode
let &t_SR.="\e[4 q" "SR = REPLACE mode
let &t_EI.="\e[1 q" "EI = NORMAL mode (ELSE)

"Cursor settings:

"  1 -> blinking block
"  2 -> solid block 
"  3 -> blinking underscore
"  4 -> solid underscore
"  5 -> blinking vertical bar
"  6 -> solid vertical bar
When write text it's more usefull see another cursor ``` autocmd InsertEnter,InsertLeave * set cul! "Mode Settings let &t_SI.="\e[5 q" "SI = INSERT mode let &t_SR.="\e[4 q" "SR = REPLACE mode let &t_EI.="\e[1 q" "EI = NORMAL mode (ELSE) "Cursor settings: " 1 -> blinking block " 2 -> solid block " 3 -> blinking underscore " 4 -> solid underscore " 5 -> blinking vertical bar " 6 -> solid vertical bar ```
i added the
feature:request
label 2022-05-16 17:46:04 +03:00
i closed this issue 2022-05-17 00:06:00 +03:00
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: i/vimrc#6
There is no content yet.