Sunday, March 6, 2011

Re: using the help system in split screen mode

On Sun, 6 Mar 2011, Chris Jones wrote:

> While I'm at it.. I had to run a guinea pig Vim session that I could
> easily bounce because I was unable to find a way to make Vim reload
> the script. If you just source xxx.vim.. it sees that the 'load'
> variable exists and exits immediately & you're stuck with the old
> version.
>
> Is there any way to do that²..?
>
> [...]
>
> ² .. w/o modifying the script, naturally.

Just unlet the variable. From your other response, it checked:

if exists('loaded_HH')
finish
endif
let loaded_HH=1

So:

:unlet loaded_HH | so xxx.vim

While testing, that's the kind of thing for which I'd set up something
like ZyX's examples. (A 'reload' function/mapping.)

--
Best,
Ben

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: