Skip to content

Instantly share code, notes, and snippets.

@jeffsharpe
Created June 5, 2015 23:31
Show Gist options
  • Select an option

  • Save jeffsharpe/355d20ecf421c96c0df4 to your computer and use it in GitHub Desktop.

Select an option

Save jeffsharpe/355d20ecf421c96c0df4 to your computer and use it in GitHub Desktop.

Revisions

  1. jeffsharpe created this gist Jun 5, 2015.
    36 changes: 36 additions & 0 deletions .gvimrc
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,36 @@
    " 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