I do a lot of Python quick simulation stuff and I\'m constantly saving (:w) and then running (:!!). Is there a way to combine these actions?
Maybe a "save and run&qu
Try making it inside the Bash.
In case of a C file called t.c, this is very convenient:
t.c
vi t.c && cc t.c -o t && ./t
The and symbols (&&) ensure that one error message breaks the command chain.
&&
For Python this might be even easier:
vi t.py && python t.py