diff options
author | Tom Willemse | 2014-08-21 00:00:40 +0200 |
---|---|---|
committer | Tom Willemse | 2014-08-21 00:00:40 +0200 |
commit | e7f23cbdbc82f0cc8f5f88e5a408fef612e3c411 (patch) | |
tree | 0449abfe5567948671f188d55afb0ceee94a84f1 | |
parent | 616e94a0f9aa09b4c347087c09a379be835aaf67 (diff) | |
download | keysnail-master.tar.gz keysnail-master.zip |
-rw-r--r-- | .keysnail.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/.keysnail.js b/.keysnail.js index aac119f..93898f6 100644 --- a/.keysnail.js +++ b/.keysnail.js @@ -163,6 +163,12 @@ key.setGlobalKey(["C-x", "C-b"], function (ev, arg) { ext.exec("tanything", arg); }, "view all tabs", true); +key.setGlobalKey(['C-x', 'C-f'], function () { + prompt.read("Open url in new tab:", function (aStr) { + gBrowser.loadOneTab(aStr, {inBackground: false}); + }); +}, 'Open a URL in a new tab', true); + key.setEditKey(["C-x", "h"], function (ev) { command.selectAll(ev); }, 'Select whole text', true); @@ -402,12 +408,6 @@ key.setViewKey('q', function (aEvent, aArg) { BrowserCloseTabOrWindow(); }, 'Close tab / window', true); -key.setViewKey(['C-x', 'C-f'], function () { - prompt.read("Open url in new tab:", function (aStr) { - gBrowser.loadOneTab(aStr, {inBackground: false}); - }); -}, 'Open a URL in a new tab', true); - key.setViewKey('g', function () { prompt.read("Open url in current tab:", function (aStr) { gBrowser.loadURI(aStr, null, null); |