For most languages, I will have a "shebang" line at the top.
The shebang could be #!/usr/bin/env python3
, but it could just as easily be -- !/usr/bin/env runhaskell
or // !cargo run
This function reads everthing after the !
and uses that command to run the curent file
function! RunBang()
if (&modified)
:write