From c2fa37e4b3f2f8435a1853ff6ab34fe80de36e1a Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Wed, 26 Sep 2007 14:37:56 +0000 Subject: [PATCH] add full help for :sidebar and :nohlsearch --- chrome/content/vimperator/commands.js | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/chrome/content/vimperator/commands.js b/chrome/content/vimperator/commands.js index 0bbb491a..c449ef33 100644 --- a/chrome/content/vimperator/commands.js +++ b/chrome/content/vimperator/commands.js @@ -786,8 +786,9 @@ function Commands() //{{{ vimperator.search.clear(); }, { - short_help: "Clear the current selection", - help: "TODO" + short_help: "Remove the search highlighting", + help: "The document highlighting is turned back on when another search command is used or the " + + "'hlsearch' option is set." } )); addDefaultCommand(new Command(["norm[al]"], @@ -1188,8 +1189,7 @@ function Commands() //{{{ toggleSidebar(); }, { - short_help: "Close the sidebar", - help: "TODO" + short_help: "Close the sidebar window" } )); // TODO: sopen instead? Separate :sidebar from :sbopen and make them behave @@ -1219,8 +1219,10 @@ function Commands() //{{{ } }, { - short_help: "Open the sidebar", - help: "TODO", + usage: ["sidebar {name}"], + short_help: "Open the sidebar window", + help: "{name} is any of the menu items listed under the standard Firefox View->Sidebar " + + "menu. Add-ons, Preferences and Downloads are also available in the sidebar.", completer: function(filter) { return vimperator.completion.get_sidebar_completions(filter); } } ));