dotar/vim/settings/rails.vim

5 lines
159 B
VimL
Raw Normal View History

" Better key maps for switching between controller and view
nnoremap ,vv :Eview<cr>
nnoremap ,cc :Econtroller<cr>
2017-03-25 10:21:33 +08:00
nnoremap ,hc :%s/:\([^=,'"]*\) =>/\1:/gc<cr>