|
|
|
|
|
by mbrameld
4530 days ago
|
|
Even better than ^Z to run tests is temporarily mapping a key combination to run them. For instance, I'll do :map ,t :w\|!rspec<CR> which lets me type ,t in command mode to save the file and run the tests. Vim will show you the output of your command and then wait for you to press a key to return to Vim. |
|
Not so important for a quick script but if your tests/compiling takes a few minutes, totally worth it.