1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-22 02:25:45 +01:00

Allow :time to be interrupted

This commit is contained in:
Kris Maglione
2008-10-12 18:58:32 +00:00
parent afcd5cbaeb
commit 0f92110012
3 changed files with 30 additions and 20 deletions

View File

@@ -188,8 +188,8 @@ liberator.IO = function () //{{{
function () { liberator.echo(liberator.io.getCurrentDirectory()); },
{ argCount: "0" });
// mkv[imperatorrc] or mkm[uttatorrc]
liberator.commands.add(["mk" + EXTENSION_NAME.substr(0, 1) + "[" + EXTENSION_NAME.substr(1) + "rc]"],
// "mkv[imperatorrc]" or "mkm[uttatorrc]"
liberator.commands.add([EXTENSION_NAME.replace(/(.)(.*)/, "mk$1[$2rc]")],
"Write current key mappings and changed options to the config file",
function (args, special)
{