1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-09 07:44:14 +01:00

moved more commands. the end of all the moving is near!

This commit is contained in:
Martin Stubenschrott
2008-02-28 23:55:02 +00:00
parent 8c45097170
commit 8184b1109f
6 changed files with 351 additions and 363 deletions

View File

@@ -144,6 +144,7 @@ vimperator.Search = function () //{{{
/////////////////////////////////////////////////////////////////////////////}}}
////////////////////// MAPPINGS ////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////{{{
var modes = vimperator.config.browserModes || [vimperator.modes.NORMAL];
vimperator.mappings.add(modes,
@@ -178,6 +179,14 @@ vimperator.Search = function () //{{{
vimperator.search.findAgain();
});
/////////////////////////////////////////////////////////////////////////////}}}
////////////////////// COMMANDS ////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////{{{
vimperator.commands.add(["noh[lsearch]"],
"Remove the search highlighting",
function (args) { vimperator.search.clear(); });
/////////////////////////////////////////////////////////////////////////////}}}
////////////////////// PUBLIC SECTION //////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////{{{