Running python scripts from Vim

2006-07-28 Thread Preben Randhol
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

Re: Running python scripts from Vim

2006-07-28 Thread Preben Randhol
Marc Weber [EMAIL PROTECTED] wrote on 28/07/2006 (13:27) : 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? lack of a propper efm. But I just managed to fix an old python compiler script

Re: Running python scripts from Vim

2006-07-28 Thread Tom Purl
On Fri, Jul 28, 2006 at 01:46:46PM +0200, Preben Randhol wrote: I have now tried several vim scripts for python to set up vim as a good python IDE. It has taken some time due to that not all scripts are well documented and there are some old buggy scripts that makes other scripts not work. But

Re: Running python scripts from Vim

2006-07-28 Thread James Vega
On Fri, Jul 28, 2006 at 01:46:46PM +0200, Preben Randhol wrote: I have now tried several vim scripts for python to set up vim as a good python IDE. It has taken some time due to that not all scripts are well documented and there are some old buggy scripts that makes other scripts not work. But