" An example for a gvimrc file. " The commands in this are executed when the GUI is started. " " Maintainer: Bram Moolenaar " Last change: 2001 Sep 02 " " To use it, copy it to " for Unix and OS/2: ~/.gvimrc " for Amiga: s:.gvimrc " for MS-DOS and Win32: $VIM\_gvimrc " for OpenVMS: sys$login:.gvimrc " Make external commands work through a pipe instead of a pseudo-tty "set noguipty set ch=2 " Make command line two lines high set mousehide " Hide the mouse when typing text " Make shift-insert work like in Xterm map map! " Only do this for Vim version 5.0 and later. if version >= 500 " I like highlighting strings inside C comments let c_comment_strings=1 " Switch on syntax highlighting if it wasn't on yet. if !exists("syntax_on") syntax on endif " Switch on search pattern highlighting. set hlsearch set co=99 set lines=44 " For Win32 version, have "K" lookup the keyword in a help file "if has("win32") " let winhelpfile='windows.hlp' " map K :execute "!start winhlp32 -k " . winhelpfile "endif endif " Determine the LC_CTYPE locale category setting and try to set guifontset accordingly: let tmplang = $LC_ALL if tmplang =~ "^$" let tmplang = $LC_CTYPE endif if tmplang =~ "^$" let tmplang = $LANG endif if tmplang =~ "^$" let tmplang = "en_US" endif if has("gui_kde") set guifont=Bistream\Vera\Sans\Mono/11/-1/5/50/0/0/0/1/0 endif " local syntax file - set colors on a per-machine basis: " vim: tw=0 ts=4 sw=4 " Vim color file " Maintainer: Ron Aaron " Last Change: 2003 May 02 hi clear set background=dark if exists("syntax_on") syntax reset endif let g:colors_name = "murphy" hi Normal ctermbg=Black ctermfg=lightgreen guibg=Black guifg=lightgreen hi Comment term=bold ctermfg=LightRed guifg=Orange hi Constant term=underline ctermfg=LightGreen guifg=White gui=NONE hi Identifier term=underline ctermfg=LightCyan guifg=#00ffff hi Ignore ctermfg=black guifg=bg hi PreProc term=underline ctermfg=LightBlue guifg=Wheat hi Search term=reverse guifg=white guibg=Blue hi Special term=bold ctermfg=LightRed guifg=magenta hi Statement term=bold ctermfg=Yellow guifg=#ffff00 gui=NONE hi Type ctermfg=LightGreen guifg=grey gui=none hi Error term=reverse ctermbg=Red ctermfg=White guibg=Red guifg=White hi Todo term=standout ctermbg=Yellow ctermfg=Black guifg=Blue guibg=Yellow " From the source: hi Cursor guifg=Orchid guibg=fg hi Directory term=bold ctermfg=LightCyan guifg=Cyan hi ErrorMsg term=standout ctermbg=DarkRed ctermfg=White guibg=Red guifg=White hi IncSearch term=reverse cterm=reverse gui=reverse hi LineNr term=underline ctermfg=Yellow guifg=Yellow hi ModeMsg term=bold cterm=bold gui=bold hi MoreMsg term=bold ctermfg=LightGreen gui=bold guifg=SeaGreen hi NonText term=bold ctermfg=Blue gui=bold guifg=Blue hi Question term=standout ctermfg=LightGreen gui=bold guifg=Cyan hi SpecialKey term=bold ctermfg=LightBlue guifg=Cyan hi StatusLine term=reverse,bold cterm=reverse gui=NONE guifg=White guibg=darkblue hi StatusLineNC term=reverse cterm=reverse gui=NONE guifg=white guibg=#333333 hi Title term=bold ctermfg=LightMagenta gui=bold guifg=Pink hi WarningMsg term=standout ctermfg=LightRed guifg=Red hi Visual term=reverse cterm=reverse gui=NONE guifg=white guibg=darkgreen " /etc/gvimrc ends here