From e2e42c83c85818ec653b6a43294f4025f449199f Mon Sep 17 00:00:00 2001 From: Martin Stubenschrott Date: Fri, 1 Feb 2008 14:12:48 +0000 Subject: [PATCH] fixed F1 --- content/mappings.js | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/content/mappings.js b/content/mappings.js index bf016fa4..39cde99e 100644 --- a/content/mappings.js +++ b/content/mappings.js @@ -370,16 +370,12 @@ vimperator.Mappings = function () //{{{ // vimperator management addDefaultMap(new vimperator.Map(allModes, [""], - function () { vimperator.help(null); }, - { - shortHelp: "Open help window" - } + function () { vimperator.commands.help(); }, + { shortHelp: "Open help window" } )); addDefaultMap(new vimperator.Map(allModes, ["", ""], vimperator.events.onEscape, - { - shortHelp: "Focus content" - } + { shortHelp: "Focus content" } )); addDefaultMap(new vimperator.Map(noninsertModes, [":"], function () { vimperator.commandline.open(":", "", vimperator.modes.EX); },