Created
October 25, 2011 09:23
-
-
Save onodes/1312006 to your computer and use it in GitHub Desktop.
gvimrc
This file contains hidden or 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
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