1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-06 02:54:12 +01:00

More RangeFind work.

This commit is contained in:
Kris Maglione
2009-11-13 03:00:46 -05:00
parent f19a4edcee
commit 12012af693
7 changed files with 27 additions and 22 deletions

View File

@@ -386,7 +386,7 @@ const Mappings = Module("mappings", {
mappings.addUserMap(modes, [lhs],
"User defined mapping",
function (count) { events.feedkeys((count > -1 ? count : "") + this.rhs, this.noremap, this.silent); }, {
function (count) { events.feedkeys((count || "") + this.rhs, this.noremap, this.silent); }, {
count: true,
rhs: events.canonicalKeys(rhs),
noremap: !!noremap,