scriptencoding utf-8

"---------------------------------------------
" Vim settings file for Steven Oliver
" Last Updated - 12/04/2008
"---------------------------------------------

" Set the default size
set lines=30
set columns=110

" No menu or toolbar
set guioptions-=m
set guioptions-=T

" Only the right scrollbar
set guioptions-=L
set guioptions-=l
set guioptions+=R
set guioptions+=r

" Nice copy'n'paste
set guioptions+=a

" Set the font
if has('gui_win32')
    set guifont=Dina:h8:cDEFAULT
elseif has('gui_gtk')
    set guifont=Dina\ 8
elseif has('gui_macvim')
    " use default
endif

" Nice window title
if has('title') && (has('gui_running') || &title)
    set titlestring=
    set titlestring+=%f " file name
    set titlestring+=%h%m%r%w " flags
    set titlestring+=\ -\ %{substitute(getcwd(),\ $HOME,\ '~',\ '')}  " working directory
endif

" MacVim transparency
if has('gui_macvim')
    set transp=1
endif

"---------------------------------------------
" vim: set sw=4 sts=4 et tw=80 :
"