Skip to content

Instantly share code, notes, and snippets.

@onodes
Created October 25, 2011 09:23
Show Gist options
  • Save onodes/1312006 to your computer and use it in GitHub Desktop.
Save onodes/1312006 to your computer and use it in GitHub Desktop.
gvimrc
iset nocompatible
filetype off
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()
Bundle 'rails.vim'
Bundle 'ruby.vim'
Bundle 'python.vim'
Bundle 'Python-2.x-Standard-Library-Reference'
Bundle 'scala.vim'
Bundle 'unite.vim'
Bundle 'neocomplcache'
Bundle 'Shougo/unite.vim'
Bundle 'thinca/vim-ref'
Bundle 'thinca/vim-quickrun'
Bundle 'Shougo/vimshell'
set tabstop=2
set shiftwidth=2
set expandtab
set autoindent
set nocompatible
set number
syntax on
filetype on
filetype indent on
filetype plugin on
if has('gui_macvim')
set showtabline=2 " ã¿ã–ã’å¸ã«è¨çº
set transparency=5 " éæŽå¦
set imdisable " IME OFF
set guioptions-=T " ã„ã¼ã«ãã¼éžè¨çº
set antialias " ã¢ã³ãã¨ã¤ãªã¢ã¹
set tabstop=4 " ã¿ã–ãµã¤ãº
set number " èŒçªå·è¨çº
set nobackup " ããƒã¯ã¢ãƒã—ãªã—
set visualbell t_vb= " ã“ã¼ã—é³ãªã—
colorscheme koehler " ã«ã©ã¼ã¹ã­ã¼ãž
set columns=100 " æªå…
set lines=35 " èŒæ°
set nowrapscan " æœç¢ã’ã•ã¡ã¤ã«ã®åˆé­ã¸ã«ã¼ã—ã—ãªã„
" ã•ã©ã³ãˆè­åš
set guifontwide=Monaco:h14
set guifont=Monaco:h14
set fuoptions=maxvert,maxhorz
" au GUIEnter * set fullscreen
set transparency=10
endif
let g:save_window_file = expand('~/.vimwinpos')
augroup SaveWindow
autocmd!
autocmd VimLeavePre * call s:save_window()
function! s:save_window()
let options = [
\ 'set columns=' . &columns,
\ 'set lines=' . &lines,
\ 'winpos ' . getwinposx() . ' ' . getwinposy(),
\ ]
call writefile(options, g:save_window_file)
endfunction
augroup END
if filereadable(g:save_window_file)
execute 'source' g:save_window_file
set guicursor=a:blinkon0
let $PYTHON_DLL="/System/Library/Frameworks/Python.framework/Versions/2.6/Python"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment