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