Skip to content

Instantly share code, notes, and snippets.

@gaffneyc
Created April 1, 2010 15:59
Show Gist options
  • Save gaffneyc/351982 to your computer and use it in GitHub Desktop.
Save gaffneyc/351982 to your computer and use it in GitHub Desktop.
source ~/.vim/common-gvimrc.vim
" 256 color colorscheme
:colorscheme vividchalk
" Maximize both dimensions when going fullscreen
:set fuopt=maxhorz,maxvert
":set transparency=8
command -nargs=0 Zoom :macaction performZoom:
" gvim-specific options
:highlight Normal guifg=white guibg=black
" Setup the font (Bitstream on Linux, Lucida on Windows)
:set guifont=Monaco:h13.00,Bitstream\ Vera\ Sans\ Mono\ 11,\ Lucida_Sans_Typewriter:h8:cANSI
" Set all gui options
" Options can be set or unset with
" :set guioptions+=(options)
" :set guioptions-=(options)
" Options
" r - right scrollbar
" l - left scrollbar
" b - bottom scrollbar
" m - menu bar
" t - tools bar
" e - Macvim native tabs
"Disable all options, scrollbars give funky business in full screen
:set guioptions=e
:cabbr toff set guioptions-=T
:cabbr ton set guioptions+=T
:cabbr moff set guioptions-=m
:cabbr mon set guioptions+=m
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment