[Tutor] starting script from within VIM

John Purser johnp at HomeLumber.com
Tue Mar 30 09:13:19 EST 2004


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

-----Original Message-----
From: John Purser 
Sent: Tuesday, March 30, 2004 7:11 AM
To: Udo Melis; tutor at python.org
Subject: RE: [Tutor] starting script from within VIM


Just started doing this myself and man is it slick.

<ESC>!python script.py

On windows this opens up a command prompt, runs the code (GUI or terminal), and leaves the window open so you can see what happened.  Two returns and you're back in Vim editing away.

I love it!

John Purser

-----Original Message-----
From: Udo Melis [mailto:melis at uni-muenster.de]
Sent: Tuesday, March 30, 2004 7:07 AM
To: tutor at python.org
Subject: [Tutor] starting script from within VIM


I cannot find any information on the web ;-(
How can i start the script i am editing in VIM. I have compiled vim with
python support and installed vim-python.
I tried :make etc. but nothing works.

THX in advance!



_______________________________________________
Tutor maillist  -  Tutor at python.org
http://mail.python.org/mailman/listinfo/tutor

_______________________________________________
Tutor maillist  -  Tutor at python.org
http://mail.python.org/mailman/listinfo/tutor



More information about the Tutor mailing list