On Fri, Jul 28, 2006 at 12:22:50PM +0200, Preben Randhol wrote: > Hi > > I'm looking for a vimscript where I can easily test out my Python code > by pressing say F9 or some other function key. I have used the > runscript.vim script (http://www.vim.org/scripts/script.php%3Fscript_id=127) > > This script has some nice things, but the main problem is that when an > error happens in the script it is not caught. I would like to use > quickfix and :copen to get the errors and to be able to jump to them.
I can't see your problem. Why not just create some mappings: compiler python set makeprg=python :make mypyfile or :make % ? What's wrong with this? |f you neet some interaction you might try using tee although I've never tried it.. Marc
