Jan
28
2007

GVim vimrc on WindowsXP

It took a long time to figure out how to turn off the blinking cursor in Gvim. Here are two ways, and all of my other changes to GVim on WinXP.

" MY changes:
:color torte
set nohlsearch
set noincsearch
set shiftwidth=4
set nobackup
set noshowmatch
" Turn off blinking for the n, v, & c states:
let &guicursor = substitute(&guicursor, "n-v-c:", "n-v-c:blinkon0-", "")
" NOTE: To stop all blinking:
" let &guicursor = &guicursor . ",a:blinkon0"

The above is added to the end of the _vimrc file, avoiding any edits to mswin.vim, etc.

posted in SysAdmin by Bozzie

2 Comments to "GVim vimrc on WindowsXP"

  1. Mark wrote:

    Thanks, this saved me a lot of time searching the docs.

    BTW: you’ve misspelled guicurcor in the last line

  2. jerry wrote:

    Thanks! Save me much time. Looks complicated. Don’t known how could I do this without your help!

 
Powered by Wordpress and MySQL. Theme by openark.org