Last active
May 11, 2016 05:39
-
-
Save leonlee/33d728b356020c6caef0 to your computer and use it in GitHub Desktop.
This file contains 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
" MacVim GUI mode | |
if has("gui_macvim") | |
set guifont=Monaco:h13 | |
set guioptions=aAce | |
set fuoptions=maxvert,maxhorz | |
set noballooneval | |
" resize current buffer by +/- 5 | |
nnoremap <M-Right> :vertical resize +5<CR> | |
nnoremap <M-Left> :vertical resize -5<CR> | |
nnoremap <M-Up> :resize -5<CR> | |
nnoremap <M-Down> :resize +5<CR> | |
" Command+Option+Right for next | |
map <D-M-Right> :tabn<CR> | |
" Command+Option+Left for previous | |
map <D-M-Left> :tabp<CR> | |
" Automatically resize splits | |
" when resizing MacVim window | |
autocmd VimResized * wincmd = | |
"disable print key | |
macmenu &File.Print key=<nop> | |
endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment