On Thu, Apr 05, 2007 at 01:34:10PM +0000, Eric Leenman wrote:
> Hi,
> 
> Is it possible to source all scripts/plugins from VIM without leaving VIM?
> When experimenting with plugins, I now
> 1) modify plugin
> 2) start VIM
> 3) test plugin
> 4) detect an error
> 5) close VIM
> 6) goto 1)
Don't see why you need this.
You might try registering :exec 'source '.expand('%')
as BufWritePost autocommand. Then :wa should suffice ?
I have one mapping sourcing the currentfile which works fine most of the
time for me.

There are sessions. So you can write a script opening vim forever
loading the session file. When exiting you can write it.
See :h mksession

HTH
Marc Weber

Reply via email to