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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user