File: [Platon] / vimconfig / gvimrc (download)
Revision 1.3, Wed Dec 4 16:47:49 2002 UTC (21 years, 4 months ago) by nepto
Changes since 1.2: +3 -3
lines
Fixed "pauliDOTfmph" to "pauli.fmph".
|
"
" vimconfig - project of powerful ViM 6.0 configuration files
"
" gvimrc - GUI configuration file
" ____________________________________________________________
"
" Developed by Lubomir Host <8host AT pauli.fmph.uniba.sk>
" Copyright (c) 2000-2002 Platon SDG, http://www.platon.sk/
" All rights reserved.
"
" See README file for more information about this software.
" See COPYING file for license information.
"
" Download the latest version from
" http://www.platon.sk/projects/vimconfig/
"
" Please don't hesitate to correct my english :)
" Send corrections to <8host AT pauli.fmph.uniba.sk>
" $Id: gvimrc,v 1.3 2002/12/04 16:47:49 nepto Exp $
function! Source(File)
silent! execute "source " . a:File
endfunction
let VIMRC_EXTRA="~/.vim/vimrc-local"
let GVIMRC_EXTRA="~/.vim/gvimrc-local"
if executable("uname") && executable("awk")
let machine = system("uname -n | awk 'BEGIN {ORS=\"\"} {print; }'")
else
let machine = ""
endif
if executable("awk")
let user = system("echo $USER | awk 'BEGIN {ORS=\"\"} {print; }'")
else
let user = $USER
endif
call Source(GVIMRC_EXTRA.".pre")
call Source(GVIMRC_EXTRA."-".user.".pre")
call Source(GVIMRC_EXTRA."-".machine.".pre")
call Source(GVIMRC_EXTRA."-".machine."-".user.".pre")
call Source(GVIMRC_EXTRA."")
call Source(GVIMRC_EXTRA."-".user)
call Source(GVIMRC_EXTRA."-".machine)
call Source(GVIMRC_EXTRA."-".machine."-".user)
" When the GUI starts, 't_vb' is reset to its default value.
" We will restore it.
set visualbell
set t_vb=
" Color settings
if &t_Co > 2 || has("gui_running")
hi StatusLine guibg=White guifg=Black gui=bold
hi StatusLineNC guibg=Black guifg=White gui=bold,reverse
hi User1 guibg=Red guifg=White gui=bold
hi User2 guibg=Black guifg=Yellow gui=bold
hi User3 guibg=White guifg=Blue gui=bold
hi User4 guibg=White guifg=LightBlue gui=bold
hi User5 guibg=Red guifg=Green gui=bold
hi Folded guibg=Black guifg=Blue gui=bold
hi FoldColumn guibg=Black guifg=Blue
hi Normal guibg=Black guifg=LightGray
hi Cursor guibg=Green guifg=NONE
hi NonText guibg=Black
hi Constant gui=NONE
hi Special gui=NONE
endif
call Source(GVIMRC_EXTRA.".post")
call Source(GVIMRC_EXTRA."-".user.".post")
call Source(GVIMRC_EXTRA."-".machine.".post")
call Source(GVIMRC_EXTRA."-".machine."-".user.".post")
" Modeline {{{
" vim:set ts=4:
" vim600:fdm=marker fdl=0 fdc=3 vb t_vb=:
" }}}
Platon Group <platon@platon.org> http://platon.org/
|