Vim Tips Wiki
Advertisement
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
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.

Comments

Advertisement