Initial bulk commit for "Git on MSys"
[msysgit/historical-msysgit.git] / share / vim / vim58 / gvimrc_example.vim
blob01fdb20a1ee2cc5dcbf586ac2b34ba8a412a0286
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
9 "             for Amiga:  s:.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
14 "set noguipty
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
20 set ch=2
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.
27 if version >= 500
29   " I like highlighting strings inside C comments
30   let c_comment_strings=1
32   " Switch on syntax highlighting.
33   syntax on
35   " Switch on search pattern highlighting.
36   set hlsearch
38   " For Win32 version, have "K" lookup the keyword in a help file
39   "if has("win32")
40   "  let winhelpfile='windows.hlp'
41   "  map K :execute "!start winhlp32 -k <cword> " . winhelpfile <CR>
42   "endif
44   " Hide the mouse pointer while typing
45   set mousehide
47   " Set nice colors
48   " background for normal text is light grey
49   " Text below the last line is darker grey
50   " Cursor is green
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
58 endif