dotfiles/vim/gvimrc

25 lines
500 B
VimL

" hide toolbar
set guioptions-=TaA
set guioptions+=Rr
if has("gui_macvim")
" macmenu Window.Toggle\ Full\ Screen\ Mode key=<D-CR>
set transparency=12
" Fullscreen takes up entire screen
set fuoptions=maxhorz,maxvert
"Mac OS X style command line editing
cnoremap <A-Backspace> <C-W>
cnoremap <D-Backspace> <C-U>
" Command-/ to toggle comments
map <D-/> <plug>NERDCommenterToggle
" Command-T (a la Textmate)
macmenu &File.New\ Tab key=<nop>
map <D-t> :CommandT<CR>
endif