summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.keysnail.js12
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);