From e7b8793a11253eba5fead9926f35c4f19e69d64e Mon Sep 17 00:00:00 2001 From: jimi Date: Wed, 13 Oct 2010 18:36:18 -0500 Subject: [PATCH] Install rails plugin --- .gitmodules | 3 +++ bundle/rails | 1 + vimrc | 4 ++++ 3 files changed, 8 insertions(+) create mode 160000 bundle/rails 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