The vim mapping suggested by Patrick Joly is just great. Perhaps this is
obvious to everyone but me, but it will not work unless one also has the
"set nocompatible" turned on in the beginning.
I also added <Enter> at the end
map <F8> :!start "c:/program files/stata8/wstata.exe" do "%:p" <Enter>
to make the do file run without pressing the <Enter> key.
DVM
_______________________________________________________________________________
Dimitriy V. Masterov
Work:
Center for Social Program Evaluation
1155 East 60th St. Room 038
Chicago, IL 60637
Work: (773)256-6005
Fax: (773)256-6313
Home:
1312 East 53rd St., Apt.309
Chicago, IL 60615
Mobile: (773)220-2760
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/