Added :Rfastspec command to find specs in fast_spec dir (or ,lf with lusty juggler)

This commit is contained in:
yan 2011-12-19 00:11:26 -08:00 committed by Yan Pritzker
parent dd72e79ac3
commit 5cf12e2110
2 changed files with 4 additions and 0 deletions

View File

@ -27,6 +27,7 @@ map ,lh :LustyFilesystemExplorer app/helpers<CR>
map ,ll :LustyFilesystemExplorer lib<CR> map ,ll :LustyFilesystemExplorer lib<CR>
map ,lp :LustyFilesystemExplorer public<CR> map ,lp :LustyFilesystemExplorer public<CR>
map ,ls :LustyFilesystemExplorer specs<CR> map ,ls :LustyFilesystemExplorer specs<CR>
map ,lf :LustyFilesystemExplorer fast_spec<CR>
map ,lt :LustyFilesystemExplorer test<CR> map ,lt :LustyFilesystemExplorer test<CR>
let g:LustyJugglerSuppressRubyWarning = 1 let g:LustyJugglerSuppressRubyWarning = 1

View File

@ -185,4 +185,7 @@ nmap ,bc :ClearBookmarks<cr>
" snippets that are expanded with space " snippets that are expanded with space
abbr pry! require 'pry'; binding.pry abbr pry! require 'pry'; binding.pry
" If you use a fast_spec directory, Rfastspec can help you find
" one of your fast specs
autocmd User BufEnterRails Rnavcommand fastspec fast_spec/ -glob=**/** -suffix=_spec.rb -default=model()