Created
March 1, 2012 16:07
-
-
Save Contejious/1950857 to your computer and use it in GitHub Desktop.
vimrc mocha
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
:let g:session_autoload = 0 | |
map <leader>t :echo system("osascript ~/sendCommand.scpt specs_local \"cd " . getcwd() . "\nwhile [ ! -f test/mocha.opts ]; do cd ..; done\nclear\n mocha -R spec " . expand("%:p:h") . "/**/*.spec.coffee\n\"")<CR> | |
map <leader>T :echo system("osascript ~/sendCommand.scpt specs_all \"cd " . getcwd() . "\nwhile [ ! -f test/mocha.opts ]; do cd ..; done\nclear\n mocha -R progress **/*.spec.coffee\n\"")<CR> | |
map <leader>d :echo system("osascript ~/sendCommand.scpt specs_local \"cd " . getcwd() . "\nwhile [ ! -f test/mocha.opts ]; do cd ..; done\nclear\n mocha debug -R spec " . expand("%:p:h") . "/**/*.spec.coffee\n\" focus")<CR> | |
map <leader>D :echo system("osascript ~/sendCommand.scpt specs_local \"cd " . getcwd() . "\nwhile [ ! -f test/mocha.opts ]; do cd ..; done\nclear\n mocha -R spec --debug-brk " . expand("%:p:h") . "/**/*.spec.coffee\n\"")<CR> | |
map <leader><Space>t :echo system("osascript ~/sendZoom.scpt specs_local")<CR> | |
map <leader><Space>T :echo system("osascript ~/sendZoom.scpt specs_all")<CR> | |
map <leader>t. :echo system("osascript ~/sendCommand.scpt specs_local \"export PS1=\n cd " . getcwd() . "\nwhile [ ! -f test/mocha.opts ]; do cd ..; done\nclear\n mocha -R spec " . expand("%:p") . "\n\"")<CR> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment