Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 26th, 2012  |  syntax: None  |  size: 1.89 KB  |  hits: 16  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. iset nocompatible
  2. filetype off
  3. set rtp+=~/.vim/bundle/vundle/
  4. call vundle#rc()
  5.  
  6. Bundle 'rails.vim'
  7. Bundle 'ruby.vim'
  8. Bundle 'python.vim'
  9. Bundle 'Python-2.x-Standard-Library-Reference'
  10. Bundle 'scala.vim'
  11. Bundle 'unite.vim'
  12. Bundle 'neocomplcache'
  13. Bundle 'Shougo/unite.vim'
  14. Bundle 'thinca/vim-ref'
  15. Bundle 'thinca/vim-quickrun'
  16. Bundle 'Shougo/vimshell'
  17.  
  18. set tabstop=2
  19. set shiftwidth=2
  20. set expandtab
  21. set autoindent
  22. set nocompatible
  23. set number
  24. syntax on
  25. filetype on
  26. filetype indent on
  27. filetype plugin on
  28.  
  29.  
  30. if has('gui_macvim')
  31.   set showtabline=2    " ã¿ã–ã’å¸ã«è¨çº
  32.   set transparency=5   " éæŽå¦
  33.   set imdisable        " IME OFF
  34.   set guioptions-=T    " ã„ã¼ã«ãã¼éžè¨çº
  35.   set antialias        " ã¢ã³ãã¨ã¤ãªã¢ã¹
  36.   set tabstop=4        " ã¿ã–ãµã¤ãº
  37.   set number           " èŒçªå·è¨çº
  38.   set nobackup         " ããƒã¯ã¢ãƒã—ãªã—
  39.   set visualbell t_vb= " ã“ã¼ã—é³ãªã—
  40.  
  41.   colorscheme koehler   " ã«ã©ã¼ã¹ã­ã¼ãž
  42.   set columns=100      " æªå…
  43.   set lines=35         " èŒæ°
  44.  
  45.   set nowrapscan       " æœç¢ã’ã•ã¡ã¤ã«ã®åˆé­ã¸ã«ã¼ã—ã—ãªã„
  46.  
  47.   " ã•ã©ã³ãˆè­åš
  48.   set guifontwide=Monaco:h14
  49.   set guifont=Monaco:h14
  50.  
  51.   set fuoptions=maxvert,maxhorz
  52. "  au GUIEnter * set fullscreen
  53.   set transparency=10
  54. endif
  55. let g:save_window_file = expand('~/.vimwinpos')
  56. augroup SaveWindow
  57.   autocmd!
  58.   autocmd VimLeavePre * call s:save_window()
  59.   function! s:save_window()
  60.     let options = [
  61.           \ 'set columns=' . &columns,
  62.           \ 'set lines=' . &lines,
  63.           \ 'winpos ' . getwinposx() . ' ' . getwinposy(),
  64.           \ ]
  65.     call writefile(options, g:save_window_file)
  66.   endfunction
  67. augroup END
  68.  
  69. if filereadable(g:save_window_file)
  70.   execute 'source' g:save_window_file
  71. set guicursor=a:blinkon0
  72.  
  73. let $PYTHON_DLL="/System/Library/Frameworks/Python.framework/Versions/2.6/Python"