1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-04-10 04:43:36 +02:00

Make source linkfication in :list* less annoying. Add help linkification to the entries. Make source links hintable.

--HG--
extra : rebase_source : 793a9d6a6d84dc3c2f8dc2dd5d0ad468e565b1c4
This commit is contained in:
Kris Maglione
2010-12-18 13:47:56 -05:00
parent 3414138989
commit 2a27292e8b
8 changed files with 46 additions and 25 deletions

View File

@@ -527,7 +527,9 @@ const Mappings = Module("mappings", {
? <span highlight="URLExtra">(passed by {template.helpLink("'passkeys'")})</span>
: <></>}
{template.linkifyHelp(map.description + (map.rhs ? ": " + map.rhs : ""))}
</>)
</>),
help: function (map) let (char = array.compact(map.modes.map(function (m) m.char))[0])
char === "n" ? map.name : char ? char + "_" + map.name : ""
}
}