1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-21 11:36:01 +01:00

Respect <C-t> for a few more key bindings. Add :background.

This commit is contained in:
Kris Maglione
2011-08-20 19:58:45 -04:00
parent f83c063798
commit cef61c8733
11 changed files with 135 additions and 61 deletions

View File

@@ -663,6 +663,20 @@ var Tabs = Module("tabs", {
subCommand: 0
});
commands.add(["background", "bg"],
"Execute a command opening any new tabs in the background",
function (args) {
dactyl.withSavedValues(["forceBackground"], function () {
this.forceBackground = true;
dactyl.execute(args[0], null, true);
});
}, {
argCount: "1",
completer: function (context) completion.ex(context),
literal: 0,
subCommand: 0
});
commands.add(["tabd[o]", "bufd[o]"],
"Execute a command in each tab",
function (args) {