Created
May 17, 2012 03:14
-
-
Save naoty/2715949 to your computer and use it in GitHub Desktop.
.vimrc settings for rails tdd
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Bundle 'git://github.com/kana/vim-altr.git' | |
| " F2, F3でコードとテストを切り替え | |
| nmap <F2> <Plug>(altr-back) | |
| nmap <F3> <Plug>(altr-forward) | |
| " 切り替えの候補を定義 | |
| call altr#define('app/models/%.rb', 'spec/models/%_spec.rb') | |
| call altr#define('app/controllers/%.rb', 'spec/controllers/%_spec.rb') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment