|
@@ -478,7 +478,7 @@ ext.add("list-tab-history", function () { |
|
|
|
|
|
|
|
|
// ========================= Special key settings ========================== // |
|
|
// ========================= Special key settings ========================== // |
|
|
|
|
|
|
|
|
key.quitKey = "<delete>"; |
|
|
|
|
|
|
|
|
key.quitKey = "ESC"; |
|
|
key.helpKey = "<f1>"; |
|
|
key.helpKey = "<f1>"; |
|
|
key.escapeKey = "C-q"; |
|
|
key.escapeKey = "C-q"; |
|
|
key.macroStartKey = ""; |
|
|
key.macroStartKey = ""; |
|
@@ -550,14 +550,18 @@ key.setGlobalKey('C-<down>', function () { |
|
|
} |
|
|
} |
|
|
}, '選択中のタブを左へ'); |
|
|
}, '選択中のタブを左へ'); |
|
|
|
|
|
|
|
|
key.setGlobalKey('M-:', function (ev) { |
|
|
|
|
|
command.interpreter(); |
|
|
|
|
|
}, 'JavaScript のコードを評価'); |
|
|
|
|
|
|
|
|
|
|
|
key.setGlobalKey('C-h', function (ev, arg) { |
|
|
key.setGlobalKey('C-h', function (ev, arg) { |
|
|
return; |
|
|
return; |
|
|
}, 'ignore'); |
|
|
}, 'ignore'); |
|
|
|
|
|
|
|
|
|
|
|
key.setGlobalKey('C-l', function (ev, arg) { |
|
|
|
|
|
ext.exec("hok-start-foreground-mode", arg, ev); |
|
|
|
|
|
}, 'Start Hit a Hint foreground mode', true); |
|
|
|
|
|
|
|
|
|
|
|
key.setViewKey('c', function (ev) { |
|
|
|
|
|
command.interpreter(); |
|
|
|
|
|
}, 'JavaScript のコードを評価'); |
|
|
|
|
|
|
|
|
key.setViewKey('D', function (ev, arg) { |
|
|
key.setViewKey('D', function (ev, arg) { |
|
|
ext.exec("dig-url", arg, ev); |
|
|
ext.exec("dig-url", arg, ev); |
|
|
}, 'dig url with selector', true); |
|
|
}, 'dig url with selector', true); |
|
@@ -728,3 +732,9 @@ key.setViewKey('T', function (ev, arg) { |
|
|
key.setEditKey('C-<tab>', function (ev) { |
|
|
key.setEditKey('C-<tab>', function (ev) { |
|
|
command.walkInputElement(command.elementsRetrieverTextarea, true, true); |
|
|
command.walkInputElement(command.elementsRetrieverTextarea, true, true); |
|
|
}, '次のテキストエリアへフォーカス'); |
|
|
}, '次のテキストエリアへフォーカス'); |
|
|
|
|
|
|
|
|
|
|
|
key.setGlobalKey('<delete>', function (ev, arg) { |
|
|
|
|
|
let(elem = document.commandDispatcher.focusedElement) elem && elem.blur(); |
|
|
|
|
|
gBrowser.focus(); |
|
|
|
|
|
content.focus(); |
|
|
|
|
|
}, 'コンテンツへフォーカス', true); |