Skip to content

Instantly share code, notes, and snippets.

@mmchaney
Created September 28, 2011 13:16
Show Gist options
  • Save mmchaney/1247906 to your computer and use it in GitHub Desktop.
Save mmchaney/1247906 to your computer and use it in GitHub Desktop.
.gvimrc
if has("gui_macvim")
" Fullscreen takes up entire screen
set fuoptions=maxhorz,maxvert
" Command-/ to toggle comments
map <D-/> <plug>NERDCommenterToggle<CR>
map <F7> <plug>NERDCommenterToggle<CR>
imap <D-/> <Esc><plug>NERDCommenterToggle<CR>i
" Adjust viewports to the same size
map <Leader>= <C-w>=
imap <Leader>= <Esc> <C-w>=
endif
" Don't beep
set visualbell
" Start without the toolbar
set guioptions-=T
" Include user's local vim config
if filereadable(expand("~/.gvimrc.local"))
source ~/.gvimrc.local
endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment