[Vimperator] Disable vimperator on some domains
Martin Stubenschrott
stubenschrott at gmx.net
Tue Nov 13 14:45:31 PST 2007
Quoting myself...
On Tue, Nov 13, 2007 at 05:10:30PM +0100, Martin Stubenschrott wrote:
> Sounds good, although i think vimperator is "enough", since you should
> also be possible to access things like if (options["visualbell"]) ...
> and the script writer could then easily write execute(":set vb") if
> he really does not want to use the JS directly, since it is more likely
> to change between releases than the Ex-commands).
>
> And what about :js, :time and :echo, use vimperator. by default or window?
> I also opt for "vimperator", since we probably will have a
> vimperator.expand() function in future and then the user could do:
> :echo "URL: " . expand("%")
I implemented that feature now in CVS, so :echo buffer.URL works now, in
addition to :echo content.document
js <<EOF
foo = function() ...
EOF
still creates foo in window, but this is ok, as I'll advise script
writers to use vimperator.plugin.* or similar namespaces anyway.
--
Martin
More information about the Vimperator
mailing list