Is it possible to adjust the cursor blink rate in the Vim editor (when in normal mode and insert mode)? And if this is possible, how can it be done?
Disabling cursor blinking :set guicursor=n-v-c:block-Cursor/lCursor,... After the first colon, add " blinkon0- " so it reads: :set guicursor=n-v-c:blinkon0-block-Cursor/lCursor,...
The default value is 530 , so based on what the GUI shows us you'll need to manually edit the key to get that magic number back.
The cursor will by default stop blinking after 5 seconds in Windows11/10. If you wish to make it continue blinking all the time, then you may give the CaretTimeout registry DWORD a large value like, say, 90000 (Decimal) or then set the value to, say, ffffffff (Hexadecimal).
:set guicursor=i:blinkwait700-blinkon400-blinkoff250
This changes the blinking of the cursor in insert mode (use n-v-i for normal, visual and insert mode). Adjust the times to your needs.
From the documentation help guicursor
:
blink times for cursor: blinkwait is the delay before the cursor starts blinking, blinkon is the time that the cursor is shown and blinkoff is the time that the cursor is not shown. The times are in msec. When one of the numbers is zero, there is no blinking. The default is: "blinkwait700-blinkon400-blinkoff250".
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With