Tip #817: Non-blinking block cursor in the linux console
tip karma |
Rating 12/5, Viewed by 607
|
created: |
|
November 7, 2004 13:28 |
|
complexity: |
|
basic |
author: |
|
David Schweikert |
|
as of Vim: |
|
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 a 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.
<<JAVH: Just another VIM Hacker |
Vim/GVim as Diff tool for TortoiseCVS >>
Additional Notes
|