[Tutor] starting script from within VIM

Udo Melis melis at uni-muenster.de
Tue Mar 30 11:20:52 EST 2004


John Purser schrieb:

>Sorry, that's:
><ESC>:!python script.py
>
>  
>
Thanks!

I found that you dont have to wirte script.py
so:

:w !python

will do. But

:com P w: !python

will make a user command called P  and  :P will execute your script.

Cheers

- Udo -




More information about the Tutor mailing list