Skip to content

Instantly share code, notes, and snippets.

@ritchiey
Created March 9, 2011 09:14
" Force the creation of the filename currently under the cursor
map gf! :e <cfile><CR>
" Allow moving between files without saving
set hidden
" Shortcuts for testing
map <leader>sm :wa\|:Rake spec:models<cr>
map <leader>sv :wa\|:Rake spec:views<cr>
map <leader>sc :wa\|:Rake spec:controllers<cr>
map <leader>sa :wa\|:Rake spec<cr>
map <leader>cw :wa\|:Rake cucumber:wip<cr>
map <leader>ca :wa\|:Rake cucumber<cr>
@ritchiey
Copy link
Author

ritchiey commented Mar 9, 2011

Additional setup on top of what Janus for Vim provides.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment