Skip to content

Instantly share code, notes, and snippets.

@fespinoza
Created July 1, 2014 06:25
Show Gist options
  • Save fespinoza/f44e321dde21a05efa51 to your computer and use it in GitHub Desktop.
Save fespinoza/f44e321dde21a05efa51 to your computer and use it in GitHub Desktop.
Example local .vimrc
let g:ctrlp_custom_ignore = '\v[\/](release|node_modules|development)$' " Ignores for CtrlP
let NERDTreeIgnore=['development$', 'node_modules$', 'release$', '\.vim$', '\~$'] " Ignores for NERDTree
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Vim Rspec
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
let g:rspec_command = "Dispatch rspec {spec}"
" testing shortchuts
map <leader>rt :Dispatch rspec -t wip spec<CR>
map <leader>rc :call RunCurrentSpecFile()<CR>
map <leader>rk :Dispatch rspec -t now spec<CR>
map <leader>ra :Dispatch rspec spec<CR>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment