1 " An example for a gvimrc file.
2 " The commands in this are executed when the GUI is started.
4 " Maintainer: Bram Moolenaar <Bram@vim.org>
5 " Last change: 2000 Mar 29
7 " To use it, copy it to
8 " for Unix and OS/2: ~/.gvimrc
10 " for MS-DOS and Win32: $VIM\_gvimrc
11 " for OpenVMS: sys$login:.gvimrc
13 " Make external commands work through a pipe instead of a pseudo-tty
16 " set the X11 font to use
17 " set guifont=-misc-fixed-medium-r-normal--14-130-75-75-c-70-iso8859-1
19 " Make command line two lines high
22 " Make shift-insert work like in Xterm
23 map <S-Insert> <MiddleMouse>
24 map! <S-Insert> <MiddleMouse>
26 " Only do this for Vim version 5.0 and later.
29 " I like highlighting strings inside C comments
30 let c_comment_strings=1
32 " Switch on syntax highlighting.
35 " Switch on search pattern highlighting.
38 " For Win32 version, have "K" lookup the keyword in a help file
40 " let winhelpfile='windows.hlp'
41 " map K :execute "!start winhlp32 -k <cword> " . winhelpfile <CR>
44 " Hide the mouse pointer while typing
48 " background for normal text is light grey
49 " Text below the last line is darker grey
51 " Constants are not underlined but have a slightly lighter background
52 highlight Normal guibg=grey90
53 highlight Cursor guibg=Green guifg=NONE
54 highlight NonText guibg=grey80
55 highlight Constant gui=NONE guibg=grey95
56 highlight Special gui=NONE guibg=grey95