diff --git a/.gitmodules b/.gitmodules index c3088c0..5f69fe0 100644 --- a/.gitmodules +++ b/.gitmodules @@ -7,3 +7,6 @@ [submodule "bundle/surround"] path = bundle/surround url = git://github.com/tpope/vim-surround.git +[submodule "bundle/rails"] + path = bundle/rails + url = git://github.com/tpope/vim-rails.git diff --git a/bundle/rails b/bundle/rails new file mode 160000 index 0000000..61907a9 --- /dev/null +++ b/bundle/rails @@ -0,0 +1 @@ +Subproject commit 61907a99c1d290384d6a07ddb3d9f39d978ad751 diff --git a/vimrc b/vimrc index ac1a553..c364a62 100644 --- a/vimrc +++ b/vimrc @@ -31,3 +31,7 @@ endif let g:surround_45 = "<% \r -%>" let g:surround_61 = "<%= \r %>" autocmd FileType php let b:surround_45 = "" + +" Settings for rails plugin +let g:rails_default_file='config/database.yml' +autocmd User Rails silent! Rlcd