Disable cursor blinking in vim?

489 views
Skip to first unread message

Chris Sutcliffe

unread,
Nov 7, 2009, 9:50:15 AM11/7/09
to mintty-...@googlegroups.com
Is there an escape sequence I can use to disable cursor blinking in vim?

Chris

--
Chris Sutcliffe
http://emergedesktop.org

Andy Koppe

unread,
Nov 7, 2009, 11:03:31 AM11/7/09
to mintty
Chris Sutcliffe:
> Is there an escape sequence I can use to disable cursor blinking in vim?

Yep, the DECCSUSR sequence controls both cursor shape and blinking:

"\e[0 q" default
"\e[1 q" blinking block
"\e[2 q" steady block
"\e[3 q" blinking underscore
"\e[4 q" steady underscore
"\e[5 q" blinking line
"\e[6 q" steady line

(There's a space before the 'q'.)

Andy
Reply all
Reply to author
Forward
0 new messages