1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 16:57:57 +01:00

add full help for :sidebar and :nohlsearch

This commit is contained in:
Doug Kearns
2007-09-26 14:37:56 +00:00
parent 933fa3d115
commit c2fa37e4b3

View File

@@ -786,8 +786,9 @@ function Commands() //{{{
vimperator.search.clear(); vimperator.search.clear();
}, },
{ {
short_help: "Clear the current selection", short_help: "Remove the search highlighting",
help: "TODO" help: "The document highlighting is turned back on when another search command is used or the " +
"<code class=\"option\">'hlsearch'</code> option is set."
} }
)); ));
addDefaultCommand(new Command(["norm[al]"], addDefaultCommand(new Command(["norm[al]"],
@@ -1188,8 +1189,7 @@ function Commands() //{{{
toggleSidebar(); toggleSidebar();
}, },
{ {
short_help: "Close the sidebar", short_help: "Close the sidebar window"
help: "TODO"
} }
)); ));
// TODO: sopen instead? Separate :sidebar from :sbopen and make them behave // TODO: sopen instead? Separate :sidebar from :sbopen and make them behave
@@ -1219,8 +1219,10 @@ function Commands() //{{{
} }
}, },
{ {
short_help: "Open the sidebar", usage: ["sidebar {name}"],
help: "TODO", short_help: "Open the sidebar window",
help: "<code class=\"argument\">{name}</code> 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); } completer: function(filter) { return vimperator.completion.get_sidebar_completions(filter); }
} }
)); ));