mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-22 22:35:45 +01:00
Fix :viu!.
--HG-- extra : rebase_source : e9f4ea7ad0d59656167aeb2e0fca276c8375c8ee
This commit is contained in:
@@ -186,7 +186,13 @@ const Mappings = Module("mappings", {
|
||||
|
||||
// NOTE: just normal mode for now
|
||||
/** @property {Iterator(Map)} @private */
|
||||
__iterator__: function () this._mappingsIterator([modes.NORMAL], this._main),
|
||||
__iterator__: function () {
|
||||
let mode = modes.NORMAL;
|
||||
let seen = {};
|
||||
for (let map in iterAll(values(this._user[mode]), values(this._main[mode])))
|
||||
if (!set.add(seen, map.name))
|
||||
yield map;
|
||||
},
|
||||
|
||||
// used by :mkpentadactylrc to save mappings
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user