"
" User configuration file for Vi IMproved (GUI version)
"
" It is sourced after .vimrc
"
" Text version here
"
" Generated by gvim :runtime syntax/2html.vim
"
"
" User configuration file for Vi IMproved GUI
"
" It is sourced after .vimrc
"

" 10 GUI

if has("gui_running")
   autocmd BufWritePost ~/.gvimrc source ~/.gvimrc
endif

if has("win32")
   set guifont=courier_new_cyr:h10
else
   set guifont=Monospace\ 14
   set toolbar=icons,text " how to show the toolbar
endif

" set guicursor+=a:blinkon0 " Stop cursor blinking

" Make shift-insert work like in Xterm
" map <S-Insert> <MiddleMouse>
" map! <S-Insert> <MiddleMouse>


" Set nice colors
" Background for normal text is light grey
" Cursor is green
" Text below the last line is darker grey
" Status line is bright white on blue
highlight Normal guibg=grey90
highlight Cursor guibg=green guifg=NONE
highlight NonText guibg=grey80
highlight Constant guibg=grey90
highlight Special gui=NONE guibg=grey90
highlight StatusLine gui=bold guifg=white guibg=blue

" ----------
" From http://slobin.pp.ru/vim/_vimrc.html

" Arrows should go into wrapped lines, but not while popup menu is visible
imap <expr> <Down> pumvisible() ? "<Down>" : "<C-O>gj"
imap <expr> <Up> pumvisible() ? "<Up>" : "<C-O>gk"

" The <CR> key should select from completion menu without adding a newline
imap <expr> <CR> pumvisible() ? "<C-Y>" : "<CR>"
" ----------

This is the page http://phd.pp.ru/Software/dotfiles/gvimrc.html. It was generated on Fri, 20 Aug 2010 22:13:48 GMT from CheetahTemplate gvimrc.tmpl. Some rights are reserved. Read more about technical aspects of the site.