summaryrefslogtreecommitdiffstats
path: root/fun.vim
diff options
context:
space:
mode:
authormitsuo <[email protected]>2020-09-17 16:20:13 -0500
committermitsuo <[email protected]>2020-09-17 16:20:13 -0500
commit0be5fb0d3d276a0e148dde68d79eaa08e10d82ff (patch)
tree9625682436cd710a0a9de3aa6b9d44a3de398310 /fun.vim
parente1b90958e2e7a0270c0c7326fc4c8997ba2b9e62 (diff)
downloaddotfiles-0be5fb0d3d276a0e148dde68d79eaa08e10d82ff.tar.gz
dotfiles-0be5fb0d3d276a0e148dde68d79eaa08e10d82ff.tar.bz2
dotfiles-0be5fb0d3d276a0e148dde68d79eaa08e10d82ff.zip
removed XDG compliance to vim
Diffstat (limited to 'fun.vim')
-rw-r--r--fun.vim3
1 files changed, 2 insertions, 1 deletions
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