From 44a2cd79d09aea86c464d4880d5fdfe8b378d7ce Mon Sep 17 00:00:00 2001 From: Yan Pritzker Date: Fri, 8 Mar 2013 09:18:30 -0600 Subject: [PATCH] Added ,mm to switch to mailer while in view --- README.md | 2 +- vim/plugin/settings/rails.vim | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 13d0ac3..1edd0fd 100644 --- a/README.md +++ b/README.md @@ -231,7 +231,7 @@ If you omit the key combo, you'll get a list of all the maps. You can do the sam * `Cmd-Shift-R` to use vim-ruby-conque to run a spec file. `Cmd-Shift-L` to run from a line (individual it block), `,Cmd-Shift-R` to rerun the last run command (great for re-running specs) * :Rspec1 and :Rspec2 to switch between rspec versions for the vim-ruby-conque runner - * `,vv` and `,cc` to switch between view and controller + * `,vv` and `,cc` and `,mm` to switch between view and controller and mailer #### Surround.vim customizations diff --git a/vim/plugin/settings/rails.vim b/vim/plugin/settings/rails.vim index ad3ef5f..ef27a29 100644 --- a/vim/plugin/settings/rails.vim +++ b/vim/plugin/settings/rails.vim @@ -1,3 +1,4 @@ " Better key maps for switching between controller and view nnoremap ,vv :Rview nnoremap ,cc :Rcontroller +nnoremap ,mm :Rmailer