mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-08 17:24:12 +01:00
add usage and long help for / and ? mappings
This commit is contained in:
@@ -942,14 +942,16 @@ function Mappings() //{{{
|
|||||||
function() { vimperator.search.openSearchDialog(vimperator.modes.SEARCH_FORWARD); },
|
function() { vimperator.search.openSearchDialog(vimperator.modes.SEARCH_FORWARD); },
|
||||||
{
|
{
|
||||||
short_help: "Search forward for a pattern",
|
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, ["?"],
|
addDefaultMap(new Map(vimperator.modes.NORMAL, ["?"],
|
||||||
function() { vimperator.search.openSearchDialog(vimperator.modes.SEARCH_BACKWARD); },
|
function() { vimperator.search.openSearchDialog(vimperator.modes.SEARCH_BACKWARD); },
|
||||||
{
|
{
|
||||||
short_help: "Search backwards for a pattern",
|
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"],
|
addDefaultMap(new Map(vimperator.modes.NORMAL, ["n"],
|
||||||
|
|||||||
Reference in New Issue
Block a user