diff --git a/vimrc b/vimrc index ad7f4ac..a5807b3 100644 --- a/vimrc +++ b/vimrc @@ -257,7 +257,7 @@ function! ToggleAsyncRunWindow() endfunction function! ExecuteRunScript() - exec "AsyncRun! -post=call\\ ToggleAsyncRunWindow() ./run.sh" + exec "AsyncRun! -post=call\\ ToggleAsyncRunWindow() ./run" endfunction " Show results window the moment the async job starts @@ -269,8 +269,8 @@ noremap :call ToggleAsyncRunWindow() nnoremap bb :call ToggleAsyncRunWindow() " Execute build script -nnoremap b :AsyncRun! -save=2 ./build.sh -nnoremap :AsyncRun! -save=2 ./build.sh +nnoremap b :AsyncRun! -save=2 ./build* +nnoremap :AsyncRun! -save=2 ./build* " Execute run script nnoremap br :call ExecuteRunScript()