Skip to content

Instantly share code, notes, and snippets.

@ppworks
Created March 10, 2012 03:44
Show Gist options
  • Select an option

  • Save ppworks/2009978 to your computer and use it in GitHub Desktop.

Select an option

Save ppworks/2009978 to your computer and use it in GitHub Desktop.
install vim for rails

support clipboard

see https://gist.github.com/721952

brew install https://raw.github.com/gist/721952/e99293dc36c9b5c27aec0a4024b848ce50b9b126/vim.rb --big

install vundle

git clone http://github.com/gmarik/vundle.git ~/.vim/bundle/vundle

.vimrc

" vi互換を無効化 set nocompatible

filetype off

set rtp+=~/.vim/bundle/vundle
call vundle#rc()

" bundle
" vim-scripts repos
Bundle ‘rails.vim’
Bundle “git://github.com/scrooloose/nerdtree.git”

filetype plugin indent on

" plugin setting
let file_name = expand(“%”)
if has(‘vim_starting’) && file_name == ""
autocmd VimEnter * NERDTree ./
endif
let NERDTreeSplitVertical=0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment