2010-12-22 01:27:34 +11:00
|
|
|
set guioptions-=T " hide toolbar
|
|
|
|
set guioptions+=Rr " Turn on scroll bars
|
2010-12-06 13:06:09 +11:00
|
|
|
|
2010-11-30 00:18:09 +11:00
|
|
|
if has("gui_macvim")
|
2010-12-06 13:06:09 +11:00
|
|
|
" Fullscreen takes up entire screen
|
|
|
|
set fuoptions=maxhorz,maxvert
|
2013-12-04 05:53:01 +11:00
|
|
|
set guifont=DejaVu\ Sans\ Mono\ for\ Powerline:h11
|
2010-12-06 13:06:09 +11:00
|
|
|
|
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
|
2011-10-21 02:47:28 +11:00
|
|
|
map <D-/> ,/
|
|
|
|
imap <D-/> ,/
|
|
|
|
vmap <D-/> ,/
|
2010-12-22 01:27:34 +11:00
|
|
|
end
|
2011-02-09 00:42:20 +11:00
|
|
|
|
|
|
|
" Source vimrc after saving it
|
|
|
|
autocmd! BufWritePost .gvimrc,gvimrc source $MYGVIMRC
|
2016-07-04 17:37:15 +10:00
|
|
|
autocmd! BufWritePost .vimrc,vimrc source $MYVIMRC | source $MYGVIMRC
|
2011-02-09 00:42:20 +11:00
|
|
|
|