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 autowrite
and you can just do:!python3 %
without having to:w
first.