I would like to create an individual vim command that does the following:
- save the current file
- run the current file with python
Currently I have to do it like this:
:w
:! python3 {filename}
Instead, I would like to do this:
:pyRun
or something similar
:set autowriteand you can just do:!python3 %without having to:wfirst.