mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-21 16:47:59 +01:00
Junk dactyl.{evalExpression,variableReference}.
Replace mappings.getMapLeader() with a mappings.mapLeader property.
This commit is contained in:
@@ -93,7 +93,7 @@ const Hints = Module("hints", {
|
||||
* Display the current status to the user.
|
||||
*/
|
||||
_updateStatusline: function () {
|
||||
statusline.updateInputBuffer((hints.escNumbers ? mappings.getMapLeader() : "") +
|
||||
statusline.updateInputBuffer((hints.escNumbers ? mappings.mapLeader : "") +
|
||||
(this._hintNumber ? this.getHintString(this._hintNumber) : ""));
|
||||
},
|
||||
|
||||
@@ -849,7 +849,7 @@ const Hints = Module("hints", {
|
||||
}
|
||||
break;
|
||||
|
||||
case mappings.getMapLeader():
|
||||
case mappings.mapLeader:
|
||||
hints.escNumbers = !hints.escNumbers;
|
||||
if (hints.escNumbers && this._usedTabKey)
|
||||
this._hintNumber = 0;
|
||||
|
||||
Reference in New Issue
Block a user