Created
June 5, 2015 23:31
-
-
Save jeffsharpe/355d20ecf421c96c0df4 to your computer and use it in GitHub Desktop.
Graphical vim configuration file .gvimrc - 20150605
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
" GUI mode | |
if has('macunix') | |
set guifont=Monaco:h13 | |
set fuoptions=maxvert,maxhorz | |
elseif has('unix') | |
set guifont=Inconsolata\ Medium\ 12 | |
endif | |
" set guioptions=aAce | |
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> | |
map <D-M-Left> :tabp<CR> | |
" Automatically resize splits | |
" when resizing MacVim windows | |
autocmd VimResized * wincmd = | |
color jellybeans | |
set guioptions=aegimrLt | |
"" For spell checker and to activate right button on mouse | |
set mousemodel=popup | |
" Set the window position and size | |
winpos 5 0 | |
set columns=125 | |
set lines=45 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment