mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-24 01:55:46 +01:00
Add base FIND mode.
This commit is contained in:
@@ -159,16 +159,22 @@ var RangeFinder = Module("rangefinder", {
|
|||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
}, {
|
}, {
|
||||||
|
/* Must come before commandline. */
|
||||||
modes: function (dactyl, modules, window) {
|
modes: function (dactyl, modules, window) {
|
||||||
const { modes } = modules;
|
const { modes } = modules;
|
||||||
/* Must come before commandline. */
|
modes.addMode("FIND", {
|
||||||
|
extended: true,
|
||||||
|
description: "Find mode, active when typing search input"
|
||||||
|
});
|
||||||
modes.addMode("FIND_FORWARD", {
|
modes.addMode("FIND_FORWARD", {
|
||||||
extended: true,
|
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" });
|
}, { history: "search" });
|
||||||
modes.addMode("FIND_BACKWARD", {
|
modes.addMode("FIND_BACKWARD", {
|
||||||
extended: true,
|
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" });
|
}, { history: "search" });
|
||||||
},
|
},
|
||||||
commandline: function (dactyl, modules, window) {
|
commandline: function (dactyl, modules, window) {
|
||||||
|
|||||||
Reference in New Issue
Block a user