diff options
Diffstat (limited to 'fun.vim')
| -rw-r--r-- | fun.vim | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -58,9 +58,10 @@ command Md2Html call Md2Html() " Compiles and Runs a C++ project +" TODO: how to add program's arguments or file redirectioning from command. function! CompRunProj ( ) exe ":w" - exe ":! g++ -o " . expand("%:r") . " *.cpp" + exe ":! g++ -o " . expand("%:r") . "-g *.cpp" exe ":! ./" . expand("%:r") endfunction |
