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

Add base FIND mode.

This commit is contained in:
Kris Maglione
2011-01-18 18:46:56 -05:00
parent 551f777c22
commit 86b8014081

View File

@@ -159,16 +159,22 @@ var RangeFinder = Module("rangefinder", {
}
}, {
}, {
/* Must come before commandline. */
modes: function (dactyl, modules, window) {
const { modes } = modules;
/* Must come before commandline. */
modes.addMode("FIND", {
extended: true,
description: "Find mode, active when typing search input"
});
modes.addMode("FIND_FORWARD", {
extended: true,
description: "Forward Find mode, active when typing search input"
description: "Forward Find mode, active when typing search input",
bases: [modes.FIND]
}, { history: "search" });
modes.addMode("FIND_BACKWARD", {
extended: true,
description: "Backward Find mode, active when typing search input"
description: "Backward Find mode, active when typing search input",
bases: [modes.FIND]
}, { history: "search" });
},
commandline: function (dactyl, modules, window) {