1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-28 14:12:27 +01:00

add usage and long help for / and ? mappings

This commit is contained in:
Doug Kearns
2007-09-03 12:46:20 +00:00
parent c837c2e6bc
commit 454f4a4efb

View File

@@ -942,14 +942,16 @@ function Mappings() //{{{
function() { vimperator.search.openSearchDialog(vimperator.modes.SEARCH_FORWARD); },
{
short_help: "Search forward for a pattern",
help: "TODO"
usage: ["/{pattern}<CR>"],
help: "Search forward for the first occurance of <code class=\"argument\">{pattern}</code>."
}
));
addDefaultMap(new Map(vimperator.modes.NORMAL, ["?"],
function() { vimperator.search.openSearchDialog(vimperator.modes.SEARCH_BACKWARD); },
{
short_help: "Search backwards for a pattern",
help: "TODO"
usage: ["?{pattern}<CR>"],
help: "Search backward for the first occurance of <code class=\"argument\">{pattern}</code>."
}
));
addDefaultMap(new Map(vimperator.modes.NORMAL, ["n"],