Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added ,mm to switch to mailer while in view

  • Loading branch information...
commit 44a2cd79d09aea86c464d4880d5fdfe8b378d7ce 1 parent d6249fe
@skwp authored
Showing with 2 additions and 1 deletion.
  1. +1 −1  README.md
  2. +1 −0  vim/plugin/settings/rails.vim
View
2  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
View
1  vim/plugin/settings/rails.vim
@@ -1,3 +1,4 @@
" Better key maps for switching between controller and view
nnoremap ,vv :Rview<cr>
nnoremap ,cc :Rcontroller<cr>
+nnoremap ,mm :Rmailer<cr>
Please sign in to comment.
Something went wrong with that request. Please try again.