diff --git a/vimrc b/vimrc index 33ca282..f254d9c 100644 --- a/vimrc +++ b/vimrc @@ -870,12 +870,12 @@ function! StopRunTask() endfunction function! ExecuteRunScript() - exec "AsyncRun! -post=call\\ StopRunTask() ./run" + exec "AsyncRun! -post=call\\ StopRunTask() ./run %" endfunction function! SilentBuild() AsyncStop - exec "AsyncRun! -save=2 -post=call\\ HideAsyncResults() ./build*" + exec "AsyncRun! -save=2 -post=call\\ HideAsyncResults() ./build* %" endfunction " Show results window the moment the async job starts @@ -891,7 +891,7 @@ nnoremap bc :call ToggleBuildResults() noremap :call HideBuildResultsAndClearErrors() " Execute build script -nnoremap b :AsyncRun! -save=2 ./build* +nnoremap b :AsyncRun! -save=2 ./build* % nnoremap :call SilentBuild() " Execute run script