Last active
August 29, 2015 14:02
-
-
Save joshnuss/568b485f77995cd4eefe to your computer and use it in GitHub Desktop.
Running Elixir tests with vim
This file contains 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
" put this .vimrc in your project's root folder | |
" type ,t to run all tests | |
map <Leader>t :!mix test<CR> | |
" type ,e to run current test | |
map <Leader>e :!mix test %<CR> |
This file contains 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
" add this somewhere in your ~/.vimrc | |
" this will load your project specific .vimrc (as long as you're not in your home dir) | |
if $HOME != $PWD && filereadable(".vimrc") | |
so .vimrc | |
endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment