From 0be5fb0d3d276a0e148dde68d79eaa08e10d82ff Mon Sep 17 00:00:00 2001 From: mitsuo Date: Thu, 17 Sep 2020 16:20:13 -0500 Subject: removed XDG compliance to vim --- fun.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'fun.vim') diff --git a/fun.vim b/fun.vim index 909c328..b184d4c 100644 --- a/fun.vim +++ b/fun.vim @@ -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 -- cgit v1.2.3