dotfiles/vim/gvimrc

24 lines
479 B
VimL

" hide toolbar
set guioptions-=T
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