Fandom

Vim Tips Wiki

Non-blinking block cursor in a Linux console

Redirected from VimTip817

1,624pages on
this wiki
Add New Page
Talk0 Share
Tip 817 Printable Monobook Previous Next

created November 7, 2004 · complexity basic · author David Schweikert · version 5.7


If you are a Linux user editing with Vim in the console, you can put the following in your vimrc to have a nice non-blinking block cursor like in an xterm:

if &term == "linux"
  set t_ve+=^[[?81;0;112c
endif

Note that the ^[ above needs to be typed like this: <CTRL-V> <Esc>.

See Documentation/VGA-softcursor.txt in the kernel sources for details about this escape sequence.

CommentsEdit

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.