diff --git a/ChangeLog b/ChangeLog index 79244f7e..4b1e0856 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,8 @@
2007-05-02:
* version ???
+ * :version! shows firefox version page
+ * hovered links appear in the command line again, not statusbar
* :help now opens in the current tab even for xhtml pages like "about:"
* hints work on xhtml pages now (you need to reset the 'hinttags' and
'extendedhinttags' settings with :set hinttags& and :set extendedhinttags&
diff --git a/chrome/content/vimperator/commands.js b/chrome/content/vimperator/commands.js
index 7788d324..abb93d53 100644
--- a/chrome/content/vimperator/commands.js
+++ b/chrome/content/vimperator/commands.js
@@ -467,10 +467,10 @@ var g_commands = [/*{{{*/
],
[
["version", "ve"],
- ["ve[rsion]"],
+ ["ve[rsion][!]"],
"Show version information",
- null,
- function () { echo("Vimperator version: " + g_vimperator_version); },
+ "You can show the Firefox version page with :version!.",
+ function (args, special) { if (special) openURLs("about:"); else echo("Vimperator version: " + g_vimperator_version); },
null
],
[
@@ -1972,10 +1972,14 @@ function set(args, special)
{
if (args == "")
{
+ var func = openURLs;
+ if (arguments[3] && arguments[3].inTab)
+ func = openURLsInNewTab;
+
if (special) // open firefox settings gui dialog
- openURLsInNewTab("chrome://browser/content/preferences/preferences.xul", true);
+ func.call(this, "chrome://browser/content/preferences/preferences.xul", true);
else
- openURLsInNewTab("about:config", true);
+ func.call(this, "about:config", true);
}
else
{
diff --git a/chrome/content/vimperator/vimperator.js b/chrome/content/vimperator/vimperator.js
index 53e6c5b2..e7a6bde3 100644
--- a/chrome/content/vimperator/vimperator.js
+++ b/chrome/content/vimperator/vimperator.js
@@ -294,7 +294,7 @@ function onVimperatorKeypress(event)/*{{{*/
{
// change the event to a usable string representation
var key = keyToString(event);
- // alert(key);
+ //alert(key);
if (key == null)
return false;