1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-17 10:15:45 +01:00

Rename TEXTAREA mode to TEXT EDIT mode, and move it from :imap to :tmap.

--HG--
branch : mode-refactoring
This commit is contained in:
Kris Maglione
2010-10-08 13:42:16 -04:00
parent c3f977cf74
commit 0856343b40
9 changed files with 69 additions and 56 deletions

View File

@@ -189,14 +189,14 @@ const RangeFinder = Module("rangefinder", {
["N"], "Find previous",
function () { rangefinder.findAgain(true); });
mappings.add(myModes.concat([modes.CARET, modes.TEXTAREA]), ["*"],
mappings.add(myModes.concat([modes.CARET, modes.TEXT_EDIT]), ["*"],
"Find word under cursor",
function () {
rangefinder.find(buffer.getCurrentWord(), false);
rangefinder.findAgain();
});
mappings.add(myModes.concat([modes.CARET, modes.TEXTAREA]), ["#"],
mappings.add(myModes.concat([modes.CARET, modes.TEXT_EDIT]), ["#"],
"Find word under cursor backwards",
function () {
rangefinder.find(buffer.getCurrentWord(), true);