1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 15:47:58 +01:00

Add c_<compl-{next,prev}-group> help entries.

This commit is contained in:
Kris Maglione
2011-10-05 20:09:22 -04:00
parent b43d9f914c
commit 09a3bfcaac
4 changed files with 29 additions and 5 deletions

View File

@@ -695,6 +695,9 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), {
}
else if (obj instanceof Map) {
spec = function (map) obj.count ? <><oa>count</oa>{map}</> : <>{map}</>;
tag = function (map) <>{
let (c = obj.modes[0].char) c ? c + "_" : ""
}{ map }</>;
link = function (map) {
let [, mode, name, extra] = /^(?:(.)_)?(?:<([^>]+)>)?(.*)$/.exec(map);
let k = <k>{extra}</k>;