Created
September 28, 2011 13:16
-
-
Save mmchaney/1247906 to your computer and use it in GitHub Desktop.
.gvimrc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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