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