Browse Source

Install rails plugin

master
jimi 14 years ago
parent
commit
e7b8793a11
  1. 3
      .gitmodules
  2. 1
      bundle/rails
  3. 4
      vimrc

3
.gitmodules

@ -7,3 +7,6 @@
[submodule "bundle/surround"] [submodule "bundle/surround"]
path = bundle/surround path = bundle/surround
url = git://github.com/tpope/vim-surround.git url = git://github.com/tpope/vim-surround.git
[submodule "bundle/rails"]
path = bundle/rails
url = git://github.com/tpope/vim-rails.git

1
bundle/rails

@ -0,0 +1 @@
Subproject commit 61907a99c1d290384d6a07ddb3d9f39d978ad751

4
vimrc

@ -31,3 +31,7 @@ endif
let g:surround_45 = "<% \r -%>" let g:surround_45 = "<% \r -%>"
let g:surround_61 = "<%= \r %>" let g:surround_61 = "<%= \r %>"
autocmd FileType php let b:surround_45 = "<?php \r ?>" autocmd FileType php let b:surround_45 = "<?php \r ?>"
" Settings for rails plugin
let g:rails_default_file='config/database.yml'
autocmd User Rails silent! Rlcd